gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: arch-arm: Make MISCREGs reset value configurable

GT
Giacomo Travaglini (Gerrit)
Wed, May 10, 2023 12:47 PM

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.travaglini@arm.com
Change-Id: I536065a2de5faeb8ab64391f8ca2aa83fb2cc82f
Reviewed-by: Richard Cooper richard.cooper@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.travaglini@arm.com
Gerrit-Reviewer: Richard Cooper richard.cooper@arm.com
Gerrit-Attention: Richard Cooper richard.cooper@arm.com

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.travaglini@arm.com> Change-Id: I536065a2de5faeb8ab64391f8ca2aa83fb2cc82f Reviewed-by: Richard Cooper <richard.cooper@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.travaglini@arm.com> Gerrit-Reviewer: Richard Cooper <richard.cooper@arm.com> Gerrit-Attention: Richard Cooper <richard.cooper@arm.com>