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


Ignore:
Timestamp:
2005-09-11T12:48:42Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8e3fb24c
Parents:
8491c48
Message:

Updated symtab so that it works correctly with BE architectures.
Changed compiler for BE MIPS to be mips-sgi-irix5, because
mipsel -EB does not behave correctly.
Doc updates to amd64.
Added ARC BIOS support to MIPS architecture. Putchar works correctly,
kernel passed FPU & some rwlock tests.

File:
1 edited

Legend:

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

    r8491c48 r3156582  
    4141        char *sym2 = "";
    4242
    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         }
     43        char *s = get_symtab_entry(pstate->epc);
     44        if (s)
     45                symbol = s;
     46        s = get_symtab_entry(pstate->ra);
     47        if (s)
     48                sym2 = s;
    5149        panic("%X: tlb_refill exception at %X(%s<-%s)\n", cp0_badvaddr_read(),
    5250              pstate->epc, symbol,sym2);
     
    5755        char *symbol = "";
    5856
    59         if (THREAD) {
    60                 char *s = get_symtab_entry(pstate->epc);
    61                 if (s)
    62                         symbol = s;
    63         }
     57        char *s = get_symtab_entry(pstate->epc);
     58        if (s)
     59                symbol = s;
    6460        panic("%X: TLB exception at %X(%s)\n", cp0_badvaddr_read(),
    6561              pstate->epc, symbol);
Note: See TracChangeset for help on using the changeset viewer.