qemu-e2k/semihosting
Evgeny Iakovlev 0bccdb42df semihosting: add O_BINARY flag in host_open for NT compatibility
Windows open(2) implementation opens files in text mode by default and
needs a Windows-only O_BINARY flag to open files as binary. QEMU already
knows about that flag in osdep and it is defined to 0 on non-Windows,
so we can just add it to the host_flags for better compatibility.

Signed-off-by: Evgeny Iakovlev <eiakovlev@linux.microsoft.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20230106102018.20520-1-eiakovlev@linux.microsoft.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230124180127.1881110-25-alex.bennee@linaro.org>
2023-02-02 11:48:20 +00:00
..
arm-compat-semi.c semihosting/arm-compat-semi: Avoid using hardcoded /tmp 2022-10-31 20:37:58 +00:00
config.c semihosting: Allow optional use of semihosting from userspace 2022-09-13 17:18:21 +01:00
console.c cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
guestfd.c semihosting: Create qemu_semihosting_guestfd_init 2022-06-28 04:36:50 +05:30
Kconfig
meson.build semihosting: Split out semihost_sys_open 2022-06-28 04:35:39 +05:30
syscalls.c semihosting: add O_BINARY flag in host_open for NT compatibility 2023-02-02 11:48:20 +00:00
uaccess.c semihosting: Simplify softmmu_lock_user_string 2022-06-28 04:35:06 +05:30