URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 465 to Rev 466
- ↔ Reverse comparison
Rev 465 → Rev 466
/trunk/or1ksim/testbench/mmu.c
256,7 → 256,7
int i; |
|
/* Get EA that cause the exception */ |
ea = mfspr (SPR_EPCR_BASE); |
ea = mfspr (SPR_EEAR_BASE); |
|
/* Find TLB set and LRU way */ |
set = (ea / PAGE_SIZE) % ITLB_SETS; |
299,7 → 299,7
int i; |
|
/* Get EA that cause the exception */ |
ea = mfspr (SPR_EPCR_BASE); |
ea = mfspr (SPR_EEAR_BASE); |
|
/* Find TLB set and way */ |
set = (ea / PAGE_SIZE) % ITLB_SETS; |