summaryrefslogtreecommitdiff
path: root/src/arch/sparc/asi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/asi.cc')
-rw-r--r--src/arch/sparc/asi.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/sparc/asi.cc b/src/arch/sparc/asi.cc
index c8f2c1366..49d3193eb 100644
--- a/src/arch/sparc/asi.cc
+++ b/src/arch/sparc/asi.cc
@@ -256,6 +256,13 @@ namespace SparcISA
return asi == ASI_QUEUE;
}
+ bool AsiIsInterrupt(ASI asi)
+ {
+ return asi == ASI_SWVR_INTR_RECEIVE ||
+ asi == ASI_SWVR_UDB_INTR_W ||
+ asi == ASI_SWVR_UDB_INTR_R ;
+ }
+
bool AsiIsMmu(ASI asi)
{
return asi == ASI_MMU ||