projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a16302
)
Don't flush TLB on PTBR writes (only FATC)
author
Andrew Waterman
<waterman@cs.berkeley.edu>
Mon, 29 Jul 2013 02:46:18 +0000
(19:46 -0700)
committer
Andrew Waterman
<waterman@cs.berkeley.edu>
Mon, 29 Jul 2013 02:46:18 +0000
(19:46 -0700)
riscv/mmu.h
patch
|
blob
|
history
diff --git
a/riscv/mmu.h
b/riscv/mmu.h
index a754b607c9a49890b189fb3b55ed93868aabf6fe..bb35f7004b901167f173be1a406f3954fa7636db 100644
(file)
--- a/
riscv/mmu.h
+++ b/
riscv/mmu.h
@@
-113,7
+113,7
@@
public:
reg_t get_badvaddr() { return badvaddr; }
reg_t get_ptbr() { return ptbr; }
- void set_ptbr(reg_t addr) { ptbr = addr & ~(PGSIZE-1);
flush_tlb();
}
+ void set_ptbr(reg_t addr) { ptbr = addr & ~(PGSIZE-1); }
void set_processor(processor_t* p) { proc = p; flush_tlb(); }
void flush_tlb();