diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-05-12 12:05:23 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-06-06 02:34:04 -0700 |
commit | 347ec03093f9668a379ef6b7fa1feb332fff039c (patch) | |
tree | f337050aab9791c9d5f5bdf32eb8d86bea367b36 /hw/xtensa | |
parent | 30c2afd151cbc38c012f7b441088980807183da6 (diff) |
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 'hw/xtensa')
0 files changed, 0 insertions, 0 deletions