projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a3c2e
)
arch-power: Added enumeration for Interrupt PC state
author
kajoljain379
<kajoljain797@gmail.com>
Sat, 12 Jan 2019 08:08:36 +0000
(13:38 +0530)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 24 Jan 2021 03:59:01 +0000
(
03:59
+0000)
Added enum to get address of required interrupt service routine.
Change-Id: I1c5e0c149b870c0a7b60e5935fb7b701b3bf3084
Signed-off-by: kajoljain379 <kajoljain797@gmail.com>
src/arch/power/faults.hh
patch
|
blob
|
history
diff --git
a/src/arch/power/faults.hh
b/src/arch/power/faults.hh
index bc42fbebe161752c6330ac561234bea9e59eeef1..55687dc6070aea6ba908cd52f9591dc6ab5f6bf3 100644
(file)
--- 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
{