| 585 | } |
| 586 | |
| 587 | static void tlb_init(RISCVCPUState *s) |
| 588 | { |
| 589 | int i; |
| 590 | |
| 591 | for(i = 0; i < TLB_SIZE; i++) { |
| 592 | s->tlb_read[i].vaddr = -1; |
| 593 | s->tlb_write[i].vaddr = -1; |
| 594 | s->tlb_code[i].vaddr = -1; |
| 595 | } |
| 596 | } |
| 597 | |
| 598 | static void tlb_flush_all(RISCVCPUState *s) |
| 599 | { |
no outgoing calls
no test coverage detected