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