Expand description
Handles trap.
Structs§
- General
Regs - General registers.
- Trap
Frame - Trap frame of kernel interrupt
- User
Context - User space context.
Functions§
- init⚠
- Initialize interrupt handling on x86_64.
- 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.