summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorRichard Henderson2022-05-02 01:59:06 +0200
committerRichard Henderson2022-06-28 01:05:52 +0200
commitfb08790b35174a98301ecbac4d5234d0cbfebea0 (patch)
tree7c817d8d4bd0cef02987c9d21c9e7f2a5b6cc914 /stubs
parentsemihosting: Expand qemu_semihosting_console_inc to read (diff)
downloadqemu-fb08790b35174a98301ecbac4d5234d0cbfebea0.tar.gz
qemu-fb08790b35174a98301ecbac4d5234d0cbfebea0.tar.xz
qemu-fb08790b35174a98301ecbac4d5234d0cbfebea0.zip
semihosting: Cleanup chardev init
Rename qemu_semihosting_connect_chardevs to qemu_semihosting_chardev_init; pass the result directly to qemu_semihosting_console_init. Store the chardev in SemihostingConsole instead of SemihostingConfig, which lets us drop semihosting_get_chardev. Reviewed-by: Luc Michel <lmichel@kalray.eu> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/semihost.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/stubs/semihost.c b/stubs/semihost.c
index 4bf2cf71b9..f486651afb 100644
--- a/stubs/semihost.c
+++ b/stubs/semihost.c
@@ -65,10 +65,6 @@ void semihosting_arg_fallback(const char *file, const char *cmd)
{
}
-void qemu_semihosting_connect_chardevs(void)
-{
-}
-
-void qemu_semihosting_console_init(void)
+void qemu_semihosting_chardev_init(void)
{
}