Browse Source
Add processor_t::is_waiting_for_interrupt accessor
Signed-off-by: Jerry Zhao <jerryz123@berkeley.edu>
pull/1294/head
Jerry Zhao
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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; |
|
|
|
|