projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae7d54d
)
target-arm: Fix typo in ARM946 cp15 c5 handling
author
Peter Maydell
<peter.maydell@linaro.org>
Wed, 14 Mar 2012 12:26:10 +0000
(12:26 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Thu, 15 Mar 2012 17:00:51 +0000
(17:00 +0000)
Fix a typo in handling of the ARM946 cp15 c5 c0 0 1 handling
(instruction access permission bits) that meant it would
return the data access permission bits by mistake.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c
patch
|
blob
|
history
diff --git
a/target-arm/helper.c
b/target-arm/helper.c
index 8a08db8d57c400eedbda5edddf1ee5f8aeb0ab08..4116feebf5363fbc6efa1a6a2fa15b37c0c406c1 100644
(file)
--- a/
target-arm/helper.c
+++ b/
target-arm/helper.c
@@
-2025,7
+2025,7
@@
uint32_t HELPER(get_cp15)(CPUARMState *env, uint32_t insn)
return env->cp15.c5_data;
case 1:
if (arm_feature(env, ARM_FEATURE_MPU))
- return simple_mpu_ap_bits(env->cp15.c5_
data
);
+ return simple_mpu_ap_bits(env->cp15.c5_
insn
);
return env->cp15.c5_insn;
case 2:
if (!arm_feature(env, ARM_FEATURE_MPU))