qemu/hw/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
..
bootparam.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
Makefile.objs hw/xtensa: remove extraneous xtensa_ prefix from file names 2014-06-29 02:32:41 +04:00
pic_cpu.c target/xtensa: refactor CCOUNT/CCOMPARE 2017-01-15 13:01:55 -08:00
sim.c target/xtensa: support output to chardev console 2017-06-06 02:40:48 -07:00
xtfpga.c chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00