From: Kajol Jain Date: Wed, 12 Jun 2019 06:04:45 +0000 (+0530) Subject: arch-power: Added dummy register X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11420c0a8a7f0efaadb90c3b3ce3a20e1bf08f1c;p=gem5.git arch-power: Added dummy register Added dummy register to avoid clearing of required register data. Change-Id: Ic65f2c01d59c6ba7f84b13fa15ea6af85f2e8d86 Signed-off-by: Kajol Jain --- diff --git a/src/arch/power/registers.hh b/src/arch/power/registers.hh index ad5820bdf..decc52ba1 100644 --- a/src/arch/power/registers.hh +++ b/src/arch/power/registers.hh @@ -68,7 +68,7 @@ const int NumIntArchRegs = 32; // CR, XER, LR, CTR, TAR, FPSCR, RSV, RSV-LEN, RSV-ADDR // and zero register, which doesn't actually exist but needs a number -const int NumIntSpecialRegs = 88; +const int NumIntSpecialRegs = 89; const int NumFloatArchRegs = 32; const int NumFloatSpecialRegs = 0; const int NumInternalProcRegs = 0; @@ -189,7 +189,8 @@ enum MiscIntRegNums { INTREG_IC, INTREG_VTB, INTREG_HSPRG1, - INTREG_PIR + INTREG_PIR, + INTREG_DUMMY }; } // namespace PowerISA