Function interrupts::is_exception_handler_with_error_code
source · pub fn is_exception_handler_with_error_code(address: u64) -> boolExpand description
Returns true if the given address is the exception handler in the current IDT
for any exception in which the CPU pushes an error code onto the stack.
On x86, only these exceptions cause the CPU to push error codes: 8, 10, 11, 12, 13, 14, 17, 29, 30.
Obtains a lock on the global IDT instance.