From d0b4cfa62937ce59bd88de5928ada687329be194 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 12 Mar 2025 17:16:05 -0700 Subject: semihosting: Move user-only implementation out-of-line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoid testing CONFIG_USER_ONLY in semihost.h. The only function that's required is semihosting_enabled. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- semihosting/stubs-system.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'semihosting/stubs-system.c') diff --git a/semihosting/stubs-system.c b/semihosting/stubs-system.c index f26cbb7c25..989789f373 100644 --- a/semihosting/stubs-system.c +++ b/semihosting/stubs-system.c @@ -22,12 +22,6 @@ QemuOptsList qemu_semihosting_config_opts = { }, }; -/* Queries to config status default to off */ -bool semihosting_enabled(bool is_user) -{ - return false; -} - /* * All the rest are empty subs. We could g_assert_not_reached() but * that adds extra weight to the final binary. Waste not want not. -- cgit 1.4.1