aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscv/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/processor.h b/riscv/processor.h
index 60cfd04..cd53106 100644
--- a/riscv/processor.h
+++ b/riscv/processor.h
@@ -293,6 +293,8 @@ public:
void set_mmu_capability(int cap);
const char* get_symbol(uint64_t addr);
+
+ bool is_waiting_for_interrupt() { return in_wfi; };
private:
const isa_parser_t * const isa;