summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Filippov2017-05-12 20:09:14 +0200
committerMax Filippov2017-06-06 11:40:48 +0200
commit8128b3e0798e6c7e5742fa9f85bf8a4bf90af94a (patch)
tree068e7f48cbe3422f7ff79a6ee339657bb6221f4f /include
parenttarget/xtensa: fix return value of read/write simcalls (diff)
downloadqemu-8128b3e0798e6c7e5742fa9f85bf8a4bf90af94a.tar.gz
qemu-8128b3e0798e6c7e5742fa9f85bf8a4bf90af94a.tar.xz
qemu-8128b3e0798e6c7e5742fa9f85bf8a4bf90af94a.zip
target/xtensa: support output to chardev console
In semihosting mode QEMU allows guest to read and write host file descriptors directly, including descriptors 0..2, a.k.a. stdin, stdout and stderr. Sometimes it's desirable to have semihosting console controlled by -serial option, e.g. to connect it to network. Add semihosting console to xtensa-semi.c, open it in the 'sim' machine in the presence of -serial option and direct stdout and stderr to it when it's present. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions