diff options
| author | Richard Henderson | 2022-04-29 21:15:14 +0200 |
|---|---|---|
| committer | Richard Henderson | 2022-06-28 01:05:52 +0200 |
| commit | 40f1219a8b2f95808ed5a18798dbce1b57fef211 (patch) | |
| tree | c4838d2783f9be34e280708c2153f31fc94993d2 /include/exec | |
| parent | semihosting: Split out semihost_sys_write (diff) | |
| download | qemu-40f1219a8b2f95808ed5a18798dbce1b57fef211.tar.gz qemu-40f1219a8b2f95808ed5a18798dbce1b57fef211.tar.xz qemu-40f1219a8b2f95808ed5a18798dbce1b57fef211.zip | |
semihosting: Bound length for semihost_sys_{read,write}
Fixes a minor bug in which a 64-bit guest on a 32-bit host could
truncate the length. This would only ever cause a problem if
there were no bits set in the low 32, so that it truncates to 0.
Reviewed-by: Luc Michel <lmichel@kalray.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
