summaryrefslogtreecommitdiff
path: root/src/arch/power
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power')
-rw-r--r--src/arch/power/utility.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/arch/power/utility.hh b/src/arch/power/utility.hh
index cbb9bb646..349054774 100644
--- a/src/arch/power/utility.hh
+++ b/src/arch/power/utility.hh
@@ -78,6 +78,19 @@ advancePC(PCState &pc, const StaticInstPtr inst)
pc.advance();
}
+static inline bool
+inUserMode(ThreadContext *tc)
+{
+ return 0;
+}
+
+inline uint64_t
+getExecutingAsid(ThreadContext *tc)
+{
+ return 0;
+}
+
} // namespace PowerISA
+
#endif // __ARCH_POWER_UTILITY_HH__