Changeset b3b7e14a in mainline for kernel/generic/include
- Timestamp:
- 2010-06-11T15:31:03Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 214ec25c
- Parents:
- be06914
- Location:
- kernel/generic/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/console.h
rbe06914 rb3b7e14a 37 37 38 38 #include <typedefs.h> 39 #include <print.h> 39 40 #include <console/chardev.h> 41 42 #define PAGING(counter, increment, before, after) \ 43 do { \ 44 (counter) += (increment); \ 45 if ((counter) > 23) { \ 46 before; \ 47 printf(" -- Press any key to continue -- "); \ 48 indev_pop_character(stdin); \ 49 after; \ 50 printf("\n"); \ 51 (counter) = 0; \ 52 } \ 53 } while (0) 40 54 41 55 extern indev_t *stdin; -
kernel/generic/include/interrupt.h
rbe06914 rb3b7e14a 44 44 #include <stacktrace.h> 45 45 46 typedef void (* iroutine )(int, istate_t *);46 typedef void (* iroutine_t)(int, istate_t *); 47 47 48 48 typedef struct { 49 49 const char *name; 50 iroutine f; 50 bool hot; 51 iroutine_t handler; 51 52 uint64_t cycles; 52 53 uint64_t count; … … 57 58 58 59 extern 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 *);60 extern iroutine_t exc_register(unsigned int, const char *, bool, iroutine_t); 61 extern void exc_dispatch(unsigned int, istate_t *); 61 62 extern void exc_init(void); 62 63 -
kernel/generic/include/sysinfo/abi.h
rbe06914 rb3b7e14a 130 130 unsigned int id; /**< Exception ID */ 131 131 char desc[EXC_NAME_BUFLEN]; /**< Description */ 132 bool hot; /**< Active or inactive exception */ 132 133 uint64_t cycles; /**< Number of CPU cycles in the handler */ 133 134 uint64_t count; /**< Number of handled exceptions */
Note:
See TracChangeset
for help on using the changeset viewer.