projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac681c
)
target-arm: Add 64 bit variants of DBGDRAR and DBGDSAR for LPAE
author
Peter Maydell
<peter.maydell@linaro.org>
Thu, 12 Jul 2012 10:59:08 +0000
(10:59 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Thu, 12 Jul 2012 10:59:54 +0000
(10:59 +0000)
LPAE extends the DBGDRAR and DBGDSAR debug registers to 64 bits; we
only implement these as dummy RAZ versions; provide dummies for
the 64 bit accesses as well.
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 e96404aa5c7d7df74fd7149232ef8283ea333955..0cf7b8dd772d6793b07697d974a39daf302889c7 100644
(file)
--- a/
target-arm/helper.c
+++ b/
target-arm/helper.c
@@
-881,6
+881,11
@@
static const ARMCPRegInfo lpae_cp_reginfo[] = {
{ .name = "AMAIR1", .cp = 15, .crn = 10, .crm = 3, .opc1 = 0, .opc2 = 1,
.access = PL1_RW, .type = ARM_CP_CONST | ARM_CP_OVERRIDE,
.resetvalue = 0 },
+ /* 64 bit access versions of the (dummy) debug registers */
+ { .name = "DBGDRAR", .cp = 14, .crm = 1, .opc1 = 0,
+ .access = PL0_R, .type = ARM_CP_CONST|ARM_CP_64BIT, .resetvalue = 0 },
+ { .name = "DBGDSAR", .cp = 14, .crm = 2, .opc1 = 0,
+ .access = PL0_R, .type = ARM_CP_CONST|ARM_CP_64BIT, .resetvalue = 0 },
REGINFO_SENTINEL
};