mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 03:29:43 +00:00
5b3f39cb04
Split out the non-ARM specific portions of SYS_OPEN to a reusable function. This handles gdb and host file i/o. Add helpers to validate the length of the filename string. Prepare for usage by other semihosting by allowing the filename length parameter to be 0, and calling strlen. Reviewed-by: Luc Michel <lmichel@kalray.eu> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
14 lines
323 B
Meson
14 lines
323 B
Meson
specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
|
'guestfd.c',
|
|
'syscalls.c',
|
|
))
|
|
|
|
specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SOFTMMU'], if_true: files(
|
|
'config.c',
|
|
'console.c',
|
|
'uaccess.c',
|
|
))
|
|
|
|
specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
|
|
if_true: files('arm-compat-semi.c'))
|