summary refs log tree commit diff stats
path: root/hw/net/xilinx_ethlite.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-06-26 13:58:31 +0200
committerAlexander Graf <agraf@suse.de>2013-07-01 01:11:17 +0200
commit0d54a5024f846ce7d53db25012fb4c7481e971ff (patch)
tree7c76456acdce1a81e34431b3e83ed4705028cdc9 /hw/net/xilinx_ethlite.c
parent593c18116090237db96af6e50b902d790265ebc5 (diff)
downloadfocaccia-qemu-0d54a5024f846ce7d53db25012fb4c7481e971ff.tar.gz
focaccia-qemu-0d54a5024f846ce7d53db25012fb4c7481e971ff.zip
mac-io: Add escc-legacy memory alias region
Mac OS X's debugging serial driver accesses the ESCC through a different
register layout, called "escc-legacy". This layout differs from the normal
escc register layout purely by the location of the respective registers.

This patch adds a memory alias region that takes normal escc registers and
maps them into the escc-legacy register space.

With this patch applied, a Mac OS X guest successfully emits debug output
on the serial port when run with debug parameters set, for example by running:

  $ qemu-system-ppc -prom-env -'boot-args=-v debug=0x8 io=0xff serial=0x3' \
                    -cdrom 10.4.iso -boot d

Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/net/xilinx_ethlite.c')
0 files changed, 0 insertions, 0 deletions