summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-05-12 11:09:14 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2017-06-06 02:40:48 -0700
commit8128b3e0798e6c7e5742fa9f85bf8a4bf90af94a (patch)
tree068e7f48cbe3422f7ff79a6ee339657bb6221f4f /hw/core
parent347ec03093f9668a379ef6b7fa1feb332fff039c (diff)
downloadfocaccia-qemu-8128b3e0798e6c7e5742fa9f85bf8a4bf90af94a.tar.gz
focaccia-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 'hw/core')
0 files changed, 0 insertions, 0 deletions