Changeset 909c6e3 in mainline for arch/mips/src/mm/tlb.c


Ignore:
Timestamp:
2005-09-07T09:44:30Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d246e7e
Parents:
24bd23a
Message:

MIPS exception now saves all necesssary information only on stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips/src/mm/tlb.c

    r24bd23a r909c6e3  
    3636#include <symtab.h>
    3737
    38 void tlb_refill(void)
     38void tlb_refill(struct exception_regdump *pstate)
    3939{
    4040        panic("tlb_refill exception\n");
    4141}
    4242
    43 void tlb_invalid(void)
     43void tlb_invalid(struct exception_regdump *pstate)
    4444{
    4545        char *symbol = "";
    4646
    4747        if (THREAD) {
    48                 char *s = get_symtab_entry(THREAD->saved_epc);
     48                char *s = get_symtab_entry(pstate->epc);
    4949                if (s)
    5050                        symbol = s;
    5151        }
    5252        panic("%X: TLB exception at %X(%s)\n", cp0_badvaddr_read(),
    53               THREAD ? THREAD->saved_epc : 0, symbol);
     53              pstate->epc, symbol);
    5454}
    5555
Note: See TracChangeset for help on using the changeset viewer.