diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-04-27 21:38:02 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-06-28 04:35:07 +0530 |
commit | 1c6ff7205bff49870dc3511f237b3ad90da5f5f7 (patch) | |
tree | 0819760edaf7d88f6c43b3a040a861cab40e6cdb /semihosting/meson.build | |
parent | 3d5e2b4f26e077e9a8fd94659a1ce2dd49c134b7 (diff) |
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>
Diffstat (limited to 'semihosting/meson.build')
-rw-r--r-- | semihosting/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/semihosting/meson.build b/semihosting/meson.build index 10b3b99921..d2c1c37bfd 100644 --- a/semihosting/meson.build +++ b/semihosting/meson.build @@ -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', |