Changeset b3b7e14a in mainline for kernel/generic/include/interrupt.h


Ignore:
Timestamp:
2010-06-11T15:31:03Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
214ec25c
Parents:
be06914
Message:

distinguish between "hot" and "cold" exceptions
display only "hot" exceptions by default
add top to help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/interrupt.h

    rbe06914 rb3b7e14a  
    4444#include <stacktrace.h>
    4545
    46 typedef void (* iroutine)(int, istate_t *);
     46typedef void (* iroutine_t)(int, istate_t *);
    4747
    4848typedef struct {
    4949        const char *name;
    50         iroutine f;
     50        bool hot;
     51        iroutine_t handler;
    5152        uint64_t cycles;
    5253        uint64_t count;
     
    5758
    5859extern void fault_if_from_uspace(istate_t *, const char *, ...);
    59 extern iroutine exc_register(int, const char *, iroutine);
    60 extern void exc_dispatch(int, istate_t *);
     60extern iroutine_t exc_register(unsigned int, const char *, bool, iroutine_t);
     61extern void exc_dispatch(unsigned int, istate_t *);
    6162extern void exc_init(void);
    6263
Note: See TracChangeset for help on using the changeset viewer.