Changes in kernel/arch/sparc64/src/trap/interrupt.c [214ec25c:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/trap/interrupt.c
r214ec25c rd99c1d2 51 51 /** Register Interrupt Level Handler. 52 52 * 53 * @param n Interrupt Level (1 - 15). 54 * @param name Short descriptive string. 55 * @param handler Handler. 56 * 53 * @param n Interrupt Level (1 - 15). 54 * @param name Short descriptive string. 55 * @param f Handler. 57 56 */ 58 void interrupt_register( unsigned int n, const char *name, iroutine_t handler)57 void interrupt_register(int n, const char *name, iroutine f) 59 58 { 60 ASSERT(n >= IVT_FIRST); 61 ASSERT(n <= IVT_ITEMS); 59 ASSERT(n >= IVT_FIRST && n <= IVT_ITEMS); 62 60 63 exc_register(n - IVT_FIRST, name, true, handler);61 exc_register(n - 1, name, f); 64 62 } 65 66 63 /** @} 67 64 */
Note:
See TracChangeset
for help on using the changeset viewer.