Skip to content
Commit d81db0be authored by Max Filippov's avatar Max Filippov Committed by Michael Roth
Browse files

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: default avatarMax Filippov <jcmvbkbc@gmail.com>
(cherry picked from commit 347ec030)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent e4422534
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment