mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
a13bfa5a05
When using the Magnum ARC firmware we can see accesses to the
UART1 being rejected, because the device is not mapped:
$ qemu-system-mips64el -M magnum -d guest_errors,unimp -bios NTPROM.RAW
Invalid access at addr 0x80007004, size 1, region '(null)', reason: rejected
Invalid access at addr 0x80007001, size 1, region '(null)', reason: rejected
Invalid access at addr 0x80007002, size 1, region '(null)', reason: rejected
Invalid access at addr 0x80007003, size 1, region '(null)', reason: rejected
Invalid access at addr 0x80007004, size 1, region '(null)', reason: rejected
Since both UARTs are present (soldered on the board) regardless
of whether there are character devices connected, map them
unconditionally.
(This code pre-dated commit
|
||
---|---|---|
.. | ||
bootloader.c | ||
boston.c | ||
cps.c | ||
fuloong2e.c | ||
fw_cfg.c | ||
fw_cfg.h | ||
gt64xxx_pci.c | ||
jazz.c | ||
Kconfig | ||
loongson3_bootp.c | ||
loongson3_bootp.h | ||
loongson3_virt.c | ||
malta.c | ||
meson.build | ||
mips_int.c | ||
mipssim.c | ||
trace-events | ||
trace.h |