qemu-patch-raspberry4/target/xtensa
Max Filippov 8128b3e079 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>
2017-06-06 02:40:48 -07:00
..
core-dc232b Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
core-dc233c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
core-fsf Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
core-dc232b.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
core-dc233c.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
core-fsf.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c target-xtensa: implement RER/WER instructions 2017-01-16 19:19:03 -08:00
cpu.h target/xtensa: support output to chardev console 2017-06-06 02:40:48 -07:00
gdbstub.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
helper.c target/xtensa: hold BQL for interrupt processing 2017-03-09 10:41:43 +00:00
helper.h target/xtensa updates: 2017-01-25 16:36:57 +00:00
import_core.sh target/xtensa: add two missing headers to core import script 2017-02-23 10:50:56 -08:00
Makefile.objs Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
op_helper.c target/xtensa: hold BQL for interrupt processing 2017-03-09 10:41:43 +00:00
overlay_tool.h target/xtensa: sim: instantiate local memories 2017-02-23 10:30:41 -08:00
translate.c target/xtensa updates: 2017-01-25 16:36:57 +00:00
xtensa-semi.c target/xtensa: support output to chardev console 2017-06-06 02:40:48 -07:00