diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-05-01 17:21:00 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-06-28 04:36:50 +0530 |
commit | e4a4aaa51b4c71914a6f30ca504ab78e8f695aee (patch) | |
tree | b36e1de06b9d0165a59f06d284808ef546e725eb /include/semihosting/semihost.h | |
parent | 008e147572863a7a54c54403e626aaed3e50574f (diff) | |
download | qemu-e4a4aaa51b4c71914a6f30ca504ab78e8f695aee.zip qemu-e4a4aaa51b4c71914a6f30ca504ab78e8f695aee.tar.gz qemu-e4a4aaa51b4c71914a6f30ca504ab78e8f695aee.tar.bz2 |
semihosting: Create qemu_semihosting_guestfd_init
For arm-compat, initialize console_{in,out}_gf;
otherwise, initialize stdio file descriptors.
This will go some way to cleaning up arm-compat, and
will allow other semihosting to use normal stdio.
Reviewed-by: Luc Michel <lmichel@kalray.eu>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/semihosting/semihost.h')
-rw-r--r-- | include/semihosting/semihost.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/semihosting/semihost.h b/include/semihosting/semihost.h index 5b36a76..93a3c21 100644 --- a/include/semihosting/semihost.h +++ b/include/semihosting/semihost.h @@ -64,5 +64,6 @@ int qemu_semihosting_config_options(const char *opt); void qemu_semihosting_chardev_init(void); void qemu_semihosting_console_init(Chardev *); #endif /* CONFIG_USER_ONLY */ +void qemu_semihosting_guestfd_init(void); #endif /* SEMIHOST_H */ |