diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2010-01-03 12:16:51 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-01-03 12:16:51 +0000 |
commit | 87f6d3f630e944586f5795e414cfedcd31e4c498 (patch) | |
tree | 190c821fde797f5c9784040d51c6c2d5c63d5982 /target-sparc/op_helper.c | |
parent | 995963852c589aae9487fdd6c20d898cf678ba04 (diff) | |
download | qemu-87f6d3f630e944586f5795e414cfedcd31e4c498.zip qemu-87f6d3f630e944586f5795e414cfedcd31e4c498.tar.gz qemu-87f6d3f630e944586f5795e414cfedcd31e4c498.tar.bz2 |
sparc64: switch to MMU global registers in more MMU related traps
- extended range of MMU related traps which use MMU global registers,
as listed in Ultrasparc-IIi document
- no visible changes, since emulation do not cause added traps
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r-- | target-sparc/op_helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index c3cc0a4..c849343 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -3447,10 +3447,10 @@ void do_interrupt(CPUState *env) change_pstate(PS_PEF | PS_PRIV | PS_IG); break; case TT_TFAULT: - case TT_TMISS: case TT_DFAULT: - case TT_DMISS: - case TT_DPROT: + case TT_TMISS ... TT_TMISS + 3: + case TT_DMISS ... TT_DMISS + 3: + case TT_DPROT ... TT_DPROT + 3: change_pstate(PS_PEF | PS_PRIV | PS_MG); break; default: |