Changeset 25d7709 in mainline for generic/src/interrupt/interrupt.c
- Timestamp:
- 2006-03-13T20:08:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 631ca4d
- Parents:
- 45d6add
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/interrupt/interrupt.c
r45d6add r25d7709 72 72 * CPU is interrupts_disable()'d. 73 73 */ 74 void exc_dispatch(int n, void *stack)74 void exc_dispatch(int n, istate_t *istate) 75 75 { 76 76 ASSERT(n < IVT_ITEMS); 77 77 78 exc_table[n].f(n + IVT_FIRST, stack);78 exc_table[n].f(n + IVT_FIRST, istate); 79 79 } 80 80 81 81 /** Default 'null' exception handler */ 82 static void exc_undef(int n, void *stack)82 static void exc_undef(int n, istate_t *istate) 83 83 { 84 84 panic("Unhandled exception %d.", n); … … 127 127 128 128 for (i=0;i < IVT_ITEMS; i++) 129 exc_register(i, "undef", exc_undef);129 exc_register(i, "undef", (iroutine) exc_undef); 130 130 131 131 cmd_initialize(&exc_info);
Note:
See TracChangeset
for help on using the changeset viewer.