diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-03 18:02:55 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-09 18:22:38 +0200 |
commit | 2039f70c235de7b7f6f41f682376260440fc3153 (patch) | |
tree | 114e3b02cb08198555437a0bec1e478c7836bbbf | |
parent | target-sh4: MMU: fix ITLB priviledge check (diff) | |
download | qemu-kvm-2039f70c235de7b7f6f41f682376260440fc3153.tar.gz qemu-kvm-2039f70c235de7b7f6f41f682376260440fc3153.tar.bz2 qemu-kvm-2039f70c235de7b7f6f41f682376260440fc3153.zip |
target-sh4: MMU: fix store queue addresses
The store queues are located from 0xe0000000 to 0xe3ffffff.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit b1563142123593581895049568c5526b1e91da7b)
-rw-r--r-- | target-sh4/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index 21b76456a..29b681398 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -430,7 +430,7 @@ static int get_physical_address(CPUState * env, target_ulong * physical, if ((address >= 0x80000000 && address < 0xc0000000) || address >= 0xe0000000) { if (!(env->sr & SR_MD) - && (address < 0xe0000000 || address > 0xe4000000)) { + && (address < 0xe0000000 || address >= 0xe4000000)) { /* Unauthorized access in user mode (only store queues are available) */ fprintf(stderr, "Unauthorized access\n"); if (rw == 0) |