From e1aa51e003768a5aedad48a1e40a5fa5fef34d01 Mon Sep 17 00:00:00 2001 From: kajoljain379 Date: Sat, 12 Jan 2019 13:38:36 +0530 Subject: [PATCH] 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 --- src/arch/power/faults.hh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 { -- 2.30.2