Changeset 38de8a5 in mainline for arch/mips/src/mm/tlb.c


Ignore:
Timestamp:
2005-09-09T13:50:54Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b02e5d1
Parents:
b0edf3b2
Message:

MIPS architecture now works without any problems in

  • msim: compile as OUTPUT_FORMAT(binary)
  • gxemul: compile as OUTPUT_FORMAT(ecoff-littlemips), or create

configuration file for binary format (will be done later)

  • simics: compile as OUTPUT_FORMAT(elf32-little), might work with binary

format, didn't try yet.

File:
1 edited

Legend:

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

    rb0edf3b2 r38de8a5  
    3838void tlb_refill(struct exception_regdump *pstate)
    3939{
    40         panic("tlb_refill exception\n");
     40        char *symbol = "";
     41        char *sym2 = "";
     42
     43        if (THREAD) {
     44                char *s = get_symtab_entry(pstate->epc);
     45                if (s)
     46                        symbol = s;
     47                s = get_symtab_entry(pstate->ra);
     48                if (s)
     49                        sym2 = s;
     50        }
     51        panic("%X: tlb_refill exception at %X(%s<-%s)\n", cp0_badvaddr_read(),
     52              pstate->epc, symbol,sym2);
    4153}
    4254
Note: See TracChangeset for help on using the changeset viewer.