Ignore:
File:
1 edited

Legend:

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

    r8f80c77 r5b8016d  
    111111static void pht_refill_fail(uintptr_t badvaddr, istate_t *istate)
    112112{
    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.");
    120116}
    121117
     
    209205 *
    210206 */
    211 void pht_refill(int n, istate_t *istate)
     207void pht_refill(unsigned int n, istate_t *istate)
    212208{
    213209        as_t *as = (AS == NULL) ? AS_KERNEL : AS;
     
    260256 *
    261257 */
    262 bool pht_refill_real(int n, istate_t *istate)
     258bool pht_refill_real(unsigned int n, istate_t *istate)
    263259{
    264260        uintptr_t badvaddr;
     
    366362 *
    367363 */
    368 void tlb_refill_real(int n, uint32_t tlbmiss, ptehi_t ptehi, ptelo_t ptelo, istate_t *istate)
     364void tlb_refill_real(unsigned int n, uint32_t tlbmiss, ptehi_t ptehi,
     365    ptelo_t ptelo, istate_t *istate)
    369366{
    370367        uint32_t badvaddr = tlbmiss & 0xfffffffc;
Note: See TracChangeset for help on using the changeset viewer.