Changeset e2bf639 in mainline for kernel/arch/sparc64/src/mm/tlb.c


Ignore:
Timestamp:
2006-09-05T21:06:59Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d7e3f1ad
Parents:
5035eeb7
Message:

Handle more sparc64 traps and improve handling of already handled traps.

File:
1 edited

Legend:

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

    r5035eeb7 re2bf639  
    4141#include <arch/mm/mmu.h>
    4242#include <arch/interrupt.h>
     43#include <interrupt.h>
    4344#include <arch.h>
    4445#include <print.h>
     
    309310        char *tpc_str = get_symtab_entry(istate->tpc);
    310311
     312        fault_if_from_uspace(istate, "%s\n", str);
    311313        printf("TPC=%p, (%s)\n", istate->tpc, tpc_str);
    312314        panic("%s\n", str);
     
    320322        va = tag.vpn << PAGE_WIDTH;
    321323
     324        fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d)\n", str, va, tag.context);
    322325        printf("Faulting page: %p, ASID=%d\n", va, tag.context);
    323326        printf("TPC=%p, (%s)\n", istate->tpc, tpc_str);
     
    332335        va = tag.vpn << PAGE_WIDTH;
    333336
     337        fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d)\n", str, va, tag.context);
    334338        printf("Faulting page: %p, ASID=%d\n", va, tag.context);
    335339        printf("TPC=%p, (%s)\n", istate->tpc, tpc_str);
Note: See TracChangeset for help on using the changeset viewer.