Changeset 8eec3c8 in mainline for kernel/generic/include/interrupt.h


Ignore:
Timestamp:
2010-06-10T14:24:50Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c0f13d2
Parents:
1113c9e
Message:

merge basic exception accounting (this is the last piece missing from the original "measure" branch by Stanislav Kozina)

File:
1 edited

Legend:

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

    r1113c9e r8eec3c8  
    4646typedef void (* iroutine)(int, istate_t *);
    4747
     48typedef struct {
     49        const char *name;
     50        iroutine f;
     51        uint64_t cycles;
     52        uint64_t count;
     53} exc_table_t;
     54
     55IRQ_SPINLOCK_EXTERN(exctbl_lock);
     56extern exc_table_t exc_table[];
     57
    4858extern void fault_if_from_uspace(istate_t *, const char *, ...);
    4959extern iroutine exc_register(int, const char *, iroutine);
Note: See TracChangeset for help on using the changeset viewer.