Changeset e2b762ec in mainline for kernel/arch/mips32/src/mm/tlb.c


Ignore:
Timestamp:
2009-03-16T21:58:05Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36c061
Parents:
d9167a1c
Message:

Make kernel symbol information optional.

File:
1 edited

Legend:

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

    rd9167a1c re2b762ec  
    4141#include <panic.h>
    4242#include <arch.h>
    43 #include <symtab.h>
    4443#include <synch/mutex.h>
    4544#include <print.h>
     
    4746#include <align.h>
    4847#include <interrupt.h>
     48
     49#ifdef CONFIG_SYMTAB
     50#include <symtab.h>
     51#endif
    4952
    5053static void tlb_refill_fail(istate_t *);
     
    324327        char *sym2 = "";
    325328
     329#ifdef CONFIG_SYMTAB
    326330        char *s = get_symtab_entry(istate->epc);
    327331        if (s)
     
    330334        if (s)
    331335                sym2 = s;
     336#endif
    332337
    333338        fault_if_from_uspace(istate, "TLB Refill Exception on %p.",
     
    342347        char *symbol = "";
    343348
     349#ifdef CONFIG_SYMTAB
    344350        char *s = get_symtab_entry(istate->epc);
    345351        if (s)
    346352                symbol = s;
     353#endif
     354
    347355        fault_if_from_uspace(istate, "TLB Invalid Exception on %p.",
    348356            cp0_badvaddr_read());
     
    355363        char *symbol = "";
    356364
     365#ifdef CONFIG_SYMTAB
    357366        char *s = get_symtab_entry(istate->epc);
    358367        if (s)
    359368                symbol = s;
     369#endif
     370
    360371        fault_if_from_uspace(istate, "TLB Modified Exception on %p.",
    361372            cp0_badvaddr_read());
Note: See TracChangeset for help on using the changeset viewer.