mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
semihosting: Split out guestfd.c
In arm-compat-semi.c, we have more advanced treatment of guest file descriptors than we do in other implementations. Split out GuestFD and related functions to a new file so that they can be shared. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
||||
'guestfd.c',
|
||||
))
|
||||
|
||||
specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SOFTMMU'], if_true: files(
|
||||
'config.c',
|
||||
'console.c',
|
||||
|
Reference in New Issue
Block a user