Expand description
Handles trap.
Structs§
- Trap
Frame - Trap frame of kernel interrupt
Functions§
- inject_
user_ page_ fault_ handler - Injects a custom handler for page faults that occur in the kernel and are caused by user-space address.
- is_
kernel_ interrupted - Returns true if this function is called within the context of an IRQ handler and the IRQ occurs while the CPU is executing in the kernel mode. Otherwise, it returns false.