projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove MTIME[CMP]; add RTC device
[riscv-isa-sim.git]
/
riscv
/
processor.h
diff --git
a/riscv/processor.h
b/riscv/processor.h
index e342ab07170d4c09398180c9af174ba9b8e67104..5557e5afad3bceede99d44735142e9bd6793df6b 100644
(file)
--- a/
riscv/processor.h
+++ b/
riscv/processor.h
@@
-45,7
+45,6
@@
struct state_t
reg_t mstatus;
reg_t mepc;
reg_t mbadaddr;
- reg_t mtimecmp;
reg_t mscratch;
reg_t mcause;
reg_t minstret;
@@
-136,6
+135,7
@@
private:
friend class sim_t;
friend class mmu_t;
+ friend class rtc_t;
friend class extension_t;
void parse_isa_string(const char* isa);