From: kajoljain379 Date: Sat, 12 Jan 2019 08:08:36 +0000 (+0530) Subject: arch-power: Added enumeration for Interrupt PC state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1aa51e003768a5aedad48a1e40a5fa5fef34d01;p=gem5.git arch-power: Added enumeration for Interrupt PC state Added enum to get address of required interrupt service routine. Change-Id: I1c5e0c149b870c0a7b60e5935fb7b701b3bf3084 Signed-off-by: kajoljain379 --- diff --git a/src/arch/power/faults.hh b/src/arch/power/faults.hh index e328922a9..28592875a 100644 --- a/src/arch/power/faults.hh +++ b/src/arch/power/faults.hh @@ -41,6 +41,14 @@ #define setBitMask(shift) ( (uint64_t)1 << shift) #define unsetMask(start ,end)(~((setBitMask(start))-1) | ((setBitMask(end))-1)) +enum pcSet +{ DecrementerPCSet = 0x900, + SystemCallPCSet = 0xC00, + ProgramPCSet = 0x700, + DataStoragePCSet = 0x300, + InstrStoragePCSet = 0x400 +}; + namespace PowerISA {