Lines Matching refs:num
26 static void set_raw_exception_handler_and_restore_interrupts(enum exception_number num, exception_h… in set_raw_exception_handler_and_restore_interrupts() argument
28 get_vtable()[16 + num] = handler; in set_raw_exception_handler_and_restore_interrupts()
33 static inline void check_exception_param(__unused enum exception_number num) { in check_exception_param() argument
34 invalid_params_if(EXCEPTION, num < NMI_EXCEPTION || num >=0); in check_exception_param()
37 exception_handler_t exception_get_vtable_handler(enum exception_number num) { in exception_get_vtable_handler() argument
38 check_exception_param(num); in exception_get_vtable_handler()
39 return get_vtable()[16 + num]; in exception_get_vtable_handler()
42 exception_handler_t exception_set_exclusive_handler(enum exception_number num, exception_handler_t … in exception_set_exclusive_handler() argument
43 check_exception_param(num); in exception_set_exclusive_handler()
46 exception_handler_t current = exception_get_vtable_handler(num); in exception_set_exclusive_handler()
48 set_raw_exception_handler_and_restore_interrupts(num, handler, save); in exception_set_exclusive_handler()
55 void exception_restore_handler(enum exception_number num, exception_handler_t original_handler) { in exception_restore_handler() argument
59 set_raw_exception_handler_and_restore_interrupts(num, original_handler, save); in exception_restore_handler()