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=0cdde51433c1f7f0af84f8d105c155106e8f4133;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 e766fcd1c..af1241f0b 100644 --- a/src/arch/power/registers.hh +++ b/src/arch/power/registers.hh @@ -64,7 +64,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; @@ -183,7 +183,8 @@ enum MiscIntRegNums { INTREG_IC, INTREG_VTB, INTREG_HSPRG1, - INTREG_PIR + INTREG_PIR, + INTREG_DUMMY }; } // namespace PowerISA