Changeset 8eec3c8 in mainline for kernel/generic/include
- Timestamp:
- 2010-06-10T14:24:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c0f13d2
- Parents:
- 1113c9e
- Location:
- kernel/generic/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/interrupt.h
r1113c9e r8eec3c8 46 46 typedef void (* iroutine)(int, istate_t *); 47 47 48 typedef struct { 49 const char *name; 50 iroutine f; 51 uint64_t cycles; 52 uint64_t count; 53 } exc_table_t; 54 55 IRQ_SPINLOCK_EXTERN(exctbl_lock); 56 extern exc_table_t exc_table[]; 57 48 58 extern void fault_if_from_uspace(istate_t *, const char *, ...); 49 59 extern iroutine exc_register(int, const char *, iroutine); -
kernel/generic/include/sysinfo/abi.h
r1113c9e r8eec3c8 40 40 #define LOAD_STEPS 3 41 41 42 /** Maximum task name size*/42 /** Maximum name sizes */ 43 43 #define TASK_NAME_BUFLEN 20 44 #define EXC_NAME_BUFLEN 20 44 45 45 46 /** Thread states */ … … 123 124 } stats_thread_t; 124 125 126 /** Statistics about a single exception 127 * 128 */ 129 typedef struct { 130 unsigned int id; /**< Exception ID */ 131 char desc[EXC_NAME_BUFLEN]; /**< Description */ 132 uint64_t cycles; /**< Number of CPU cycles in the handler */ 133 uint64_t count; /**< Number of handled exceptions */ 134 } stats_exc_t; 135 125 136 /** Load fixed-point value */ 126 137 typedef uint32_t load_t;
Note:
See TracChangeset
for help on using the changeset viewer.