Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/mm/tlb.c

    r5b8016d r8f80c77  
    111111static void pht_refill_fail(uintptr_t badvaddr, istate_t *istate)
    112112{
    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);
    116120}
    117121
     
    205209 *
    206210 */
    207 void pht_refill(unsigned int n, istate_t *istate)
     211void pht_refill(int n, istate_t *istate)
    208212{
    209213        as_t *as = (AS == NULL) ? AS_KERNEL : AS;
     
    256260 *
    257261 */
    258 bool pht_refill_real(unsigned int n, istate_t *istate)
     262bool pht_refill_real(int n, istate_t *istate)
    259263{
    260264        uintptr_t badvaddr;
     
    362366 *
    363367 */
    364 void tlb_refill_real(unsigned int n, uint32_t tlbmiss, ptehi_t ptehi,
    365     ptelo_t ptelo, istate_t *istate)
     368void tlb_refill_real(int n, uint32_t tlbmiss, ptehi_t ptehi, ptelo_t ptelo, istate_t *istate)
    366369{
    367370        uint32_t badvaddr = tlbmiss & 0xfffffffc;
Note: See TracChangeset for help on using the changeset viewer.