Attention is currently required from: Richard Cooper.
Hello Richard Cooper,
I'd like you to do a code review.
Please visit
https://gem5-review.googlesource.com/c/public/gem5/+/70458?usp=email
to review the following change.
Change subject: arch-arm: Make MISCREGs reset value configurable
......................................................................
arch-arm: Make MISCREGs reset value configurable
Signed-off-by: Giacomo Travaglini <giacomo.travagl...@arm.com>
Change-Id: I536065a2de5faeb8ab64391f8ca2aa83fb2cc82f
Reviewed-by: Richard Cooper <richard.coo...@arm.com>
---
M src/arch/arm/regs/misc.hh
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/arch/arm/regs/misc.hh b/src/arch/arm/regs/misc.hh
index bf25ea3..69d1461 100644
--- a/src/arch/arm/regs/misc.hh
+++ b/src/arch/arm/regs/misc.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2022 Arm Limited
+ * Copyright (c) 2010-2023 Arm Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -1231,6 +1231,12 @@
return *this;
}
chain
+ reset(uint64_t res_val) const
+ {
+ entry._reset = res_val;
+ return *this;
+ }
+ chain
res0(uint64_t mask) const
{
entry._res0 = mask;
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/70458?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I536065a2de5faeb8ab64391f8ca2aa83fb2cc82f
Gerrit-Change-Number: 70458
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Richard Cooper <richard.coo...@arm.com>
Gerrit-Attention: Richard Cooper <richard.coo...@arm.com>
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org