Hello,
this series fixes two issues in xtensa semihosting read/write calls:
incorrect direction flags used to map physical memory and incorrect
return value for requests crossing page boundary, and allows using
QEMU chardev for stdout and stderr output in semihosting mode.
Max Filippov (3):
target/xtensa: fix mapping direction in read/write simcalls
target/xtensa: fix return value of read/write simcalls
target/xtensa: support output to chardev console
hw/xtensa/sim.c | 4 ++
target/xtensa/cpu.h | 1 +
target/xtensa/xtensa-semi.c | 91 +++++++++++++++++++++++++++++++++++----------
3 files changed, 77 insertions(+), 19 deletions(-)
--
2.1.4