diff options
| author | Richard Henderson | 2022-04-28 10:44:28 +0200 |
|---|---|---|
| committer | Richard Henderson | 2022-06-28 01:05:39 +0200 |
| commit | 5b3f39cb04fda32226e84502f858bab06d83e5c1 (patch) | |
| tree | 3e5859fb0f4457ad96b21c76ff53503363fe61d1 /include/exec/exec-all.h | |
| parent | semihosting: Move GET_ARG/SET_ARG earlier in the file (diff) | |
| download | qemu-5b3f39cb04fda32226e84502f858bab06d83e5c1.tar.gz qemu-5b3f39cb04fda32226e84502f858bab06d83e5c1.tar.xz qemu-5b3f39cb04fda32226e84502f858bab06d83e5c1.zip | |
semihosting: Split out semihost_sys_open
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>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
