Changeset e2b762ec in mainline for kernel/arch/amd64/src/interrupt.c


Ignore:
Timestamp:
2009-03-16T21:58:05Z (16 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/amd64/src/interrupt.c

    rd9167a1c re2b762ec  
    4444#include <mm/as.h>
    4545#include <arch.h>
    46 #include <symtab.h>
    4746#include <arch/asm.h>
    4847#include <proc/scheduler.h>
     
    5453#include <ddi/irq.h>
    5554
     55#ifdef CONFIG_SYMTAB
     56#include <symtab.h>
     57#endif
     58
    5659/*
    5760 * Interrupt and exception dispatching.
     
    6770/*      uint64_t *x = &istate->stack[0]; */
    6871
     72#ifdef CONFIG_SYMTAB
    6973        if (!(symbol = get_symtab_entry(istate->rip)))
    7074                symbol = "";
     75#else
     76        symbol = "";
     77#endif
    7178
    7279        printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n", n, __func__);
Note: See TracChangeset for help on using the changeset viewer.