mips_malta: do not raise exceptions when accessing invalid memory
Since commit c658b94f, MIPS raises exceptions when accessing invalid memory. This is not the correct behaviour for MIPS Malta Core LV, as the GT-64120A system controller just ignore undecoded access. This feature is used by the Linux kernel to probe for some devices. Emulate the correct behaviour in QEMU by adding an empty slot covering the entire memory space decoded by the GT-64120A. Tested-by:Stefan Weil <sw@weilnetz.de> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
Showing
- default-configs/mips-softmmu.mak 1 addition, 0 deletionsdefault-configs/mips-softmmu.mak
- default-configs/mips64-softmmu.mak 1 addition, 0 deletionsdefault-configs/mips64-softmmu.mak
- default-configs/mips64el-softmmu.mak 1 addition, 0 deletionsdefault-configs/mips64el-softmmu.mak
- default-configs/mipsel-softmmu.mak 1 addition, 0 deletionsdefault-configs/mipsel-softmmu.mak
- hw/mips/mips_malta.c 6 additions, 0 deletionshw/mips/mips_malta.c
Please register or sign in to comment