summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorMax Filippov2017-05-12 21:05:23 +0200
committerMax Filippov2017-06-06 11:34:04 +0200
commit347ec03093f9668a379ef6b7fa1feb332fff039c (patch)
treef337050aab9791c9d5f5bdf32eb8d86bea367b36 /include/exec
parenttarget/xtensa: fix mapping direction in read/write simcalls (diff)
downloadqemu-347ec03093f9668a379ef6b7fa1feb332fff039c.tar.gz
qemu-347ec03093f9668a379ef6b7fa1feb332fff039c.tar.xz
qemu-347ec03093f9668a379ef6b7fa1feb332fff039c.zip
target/xtensa: fix return value of read/write simcalls
Return value of read/write simcalls is not calculated correctly in case of operations crossing page boundary and in case of short reads/writes. Read and write simcalls should return the size of data actually read/written or -1 in case of error. Cc: qemu-stable@nongnu.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions