Changes in kernel/arch/ppc32/src/mm/tlb.c [8f80c77:5b8016d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/mm/tlb.c
r8f80c77 r5b8016d 111 111 static void pht_refill_fail(uintptr_t badvaddr, istate_t *istate) 112 112 { 113 const char *symbol = symtab_fmt_name_lookup(istate->pc); 114 const char *sym2 = symtab_fmt_name_lookup(istate->lr); 115 116 fault_if_from_uspace(istate, 117 "PHT Refill Exception on %p.", badvaddr); 118 panic("%p: PHT Refill Exception at %p (%s<-%s).", badvaddr, 119 istate->pc, symbol, sym2); 113 fault_if_from_uspace(istate, "PHT Refill Exception on %p.", badvaddr); 114 panic_memtrap(istate, PF_ACCESS_READ, badvaddr, 115 "PHT Refill Exception."); 120 116 } 121 117 … … 209 205 * 210 206 */ 211 void pht_refill( int n, istate_t *istate)207 void pht_refill(unsigned int n, istate_t *istate) 212 208 { 213 209 as_t *as = (AS == NULL) ? AS_KERNEL : AS; … … 260 256 * 261 257 */ 262 bool pht_refill_real( int n, istate_t *istate)258 bool pht_refill_real(unsigned int n, istate_t *istate) 263 259 { 264 260 uintptr_t badvaddr; … … 366 362 * 367 363 */ 368 void tlb_refill_real(int n, uint32_t tlbmiss, ptehi_t ptehi, ptelo_t ptelo, istate_t *istate) 364 void tlb_refill_real(unsigned int n, uint32_t tlbmiss, ptehi_t ptehi, 365 ptelo_t ptelo, istate_t *istate) 369 366 { 370 367 uint32_t badvaddr = tlbmiss & 0xfffffffc;
Note:
See TracChangeset
for help on using the changeset viewer.