projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bee510
)
target-arm: Fix typo that meant TTBR1 accesses went to TTBR0
author
Peter Maydell
<peter.maydell@linaro.org>
Thu, 12 Jul 2012 10:58:36 +0000
(10:58 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Thu, 12 Jul 2012 10:58:36 +0000
(10:58 +0000)
Fix a copy-and-paste error in the register description for TTBR1
that meant it was a duplicate of TTBR0 rather than affecting the
correct bit of CPU state.
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 23099236adc9d56872c437d9159d32b90ee7a5a6..ca5d8e9e28c4e7508d187eabe1a256261f4aa3dd 100644
(file)
--- a/
target-arm/helper.c
+++ b/
target-arm/helper.c
@@
-679,7
+679,7
@@
static const ARMCPRegInfo vmsa_cp_reginfo[] = {
.fieldoffset = offsetof(CPUARMState, cp15.c2_base0), .resetvalue = 0, },
{ .name = "TTBR1", .cp = 15, .crn = 2, .crm = 0, .opc1 = 0, .opc2 = 1,
.access = PL1_RW,
- .fieldoffset = offsetof(CPUARMState, cp15.c2_base
0
), .resetvalue = 0, },
+ .fieldoffset = offsetof(CPUARMState, cp15.c2_base
1
), .resetvalue = 0, },
{ .name = "TTBCR", .cp = 15, .crn = 2, .crm = 0, .opc1 = 0, .opc2 = 2,
.access = PL1_RW, .writefn = vmsa_ttbcr_write,
.resetfn = vmsa_ttbcr_reset,