Giacomo Travaglini has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/60731 )
Change subject: arch-arm: Initialize Debug using AArch64 version of the
registers
......................................................................
arch-arm: Initialize Debug using AArch64 version of the registers
Initialize Arm Self Hosted Debug using the AArch64 version of
Watchpoint registers
M src/arch/arm/self_debug.cc
1 file changed, 21 insertions(+), 3 deletions(-)
Approvals:
kokoro: Regressions pass
Andreas Sandberg: Looks good to me, approved; Looks good to me, approved
Richard Cooper: Looks good to me, approved
diff --git a/src/arch/arm/self_debug.cc b/src/arch/arm/self_debug.cc
index e327f58..85fbabe 100644
--- a/src/arch/arm/self_debug.cc
+++ b/src/arch/arm/self_debug.cc
@@ -347,10 +347,10 @@
}
for (int i = 0; i <= dfr.wrps; i++) {
WatchPoint wtp = WatchPoint((MiscRegIndex)(MISCREG_DBGWCR0 + i),
(MiscRegIndex)(MISCREG_DBGWVR0 + i),
WatchPoint wtp = WatchPoint((MiscRegIndex)(MISCREG_DBGWCR0_EL1 +
i),
(MiscRegIndex)(MISCREG_DBGWVR0_EL1 +
i),
this, (bool)mm_fr2.varange, aarch32);
const DBGWCR ctr = tc->readMiscReg(MISCREG_DBGWCR0 + i);
const DBGWCR ctr = tc->readMiscReg(MISCREG_DBGWCR0_EL1 + i);
wtp.updateControl(ctr);
arWatchPoints.push_back(wtp);
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/60731
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I2fc711970c7805d8de985846025b8f6de99b2682
Gerrit-Change-Number: 60731
Gerrit-PatchSet: 2
Gerrit-Owner: Giacomo Travaglini giacomo.travaglini@arm.com
Gerrit-Reviewer: Andreas Sandberg andreas.sandberg@arm.com
Gerrit-Reviewer: Giacomo Travaglini giacomo.travaglini@arm.com
Gerrit-Reviewer: Richard Cooper richard.cooper@arm.com
Gerrit-Reviewer: kokoro noreply+kokoro@google.com
Gerrit-MessageType: merged