summaryrefslogtreecommitdiffstats
path: root/util/qemu-progress.c
diff options
context:
space:
mode:
authorHelge Deller2018-10-07 22:51:53 +0200
committerRichard Henderson2018-10-17 00:32:22 +0200
commit5f538f75324ef69d624b5f71ab2c7f4e72a7d744 (patch)
treef51b2206a8b8a62467933cacc8cbbd853bc91995 /util/qemu-progress.c
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20181016-... (diff)
downloadqemu-5f538f75324ef69d624b5f71ab2c7f4e72a7d744.tar.gz
qemu-5f538f75324ef69d624b5f71ab2c7f4e72a7d744.tar.xz
qemu-5f538f75324ef69d624b5f71ab2c7f4e72a7d744.zip
target/hppa: Raise exception 26 on emulated hardware
On PCXS chips (PA7000, pa 1.1a), trap #18 is raised on memory faults, while all later chips (>= PA7100) generate either trap #26, #27 or #28 (depending on the fault type). Since the current qemu emulation emulates a B160L machine (with a PA7300LC PCX-L2 chip, we should raise trap #26 (EXCP_DMAR) instead of #18 (EXCP_DMP) on access faults by the Linux kernel to page zero. With the patch we now get the correct output (I tested against real hardware): Kernel Fault: Code=26 (Data memory access rights trap) instead of: Kernel Fault: Code=18 (Data memory protection/unaligned access trap) Signed-off-by: Helge Deller <deller@gmx.de> Message-Id: <20181007205153.GA30270@ls3530.fritz.box> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'util/qemu-progress.c')
0 files changed, 0 insertions, 0 deletions