From d25afc470b77cf1464ee104b9261246ef005629d 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 bc42fbebe..55687dc60 100644 --- a/src/arch/power/faults.hh +++ b/src/arch/power/faults.hh @@ -38,6 +38,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