mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
008e147572
commit
e4a4aaa51b
5 changed files with 61 additions and 10 deletions
|
@ -190,4 +190,6 @@ void qemu_semihosting_console_init(Chardev *chr)
|
|||
NULL, NULL, &console,
|
||||
NULL, true);
|
||||
}
|
||||
|
||||
qemu_semihosting_guestfd_init();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue