]> git.proxmox.com Git - qemu.git/commit
mips_malta: do not raise exceptions when accessing invalid memory
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 12 Aug 2013 19:34:53 +0000 (21:34 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 14 Aug 2013 14:47:30 +0000 (16:47 +0200)
commitcc413a39355ed910f22f8f0be5e233c08a0773a0
tree211a2dc7f171ec93febae7515fe77e4ea4163d8d
parent8b7a5415f9297c1fbae5bff28dcb059d50c1b045
mips_malta: do not raise exceptions when accessing invalid memory

Since commit c658b94f6e8c206c59d02aa6fbac285b86b53d2c, 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>
default-configs/mips-softmmu.mak
default-configs/mips64-softmmu.mak
default-configs/mips64el-softmmu.mak
default-configs/mipsel-softmmu.mak
hw/mips/mips_malta.c