Skip to main content

Module trap

Module trap 

Source
Expand description

Trap handling.

Re-exports§

pub use crate::TrapFrame;

Structs§

PageFaultFlags
Generic page table entry flags that indicate the corresponding mapped memory region permissions and attributes.

Functions§

breakpoint_handler
Breakpoint handler.
debug_handlerx86-64
Debug handler.
dispatch_irq
Dispatches an IRQ through the runtime-registered handler, or the default handler.
dispatch_page_fault
Dispatches a page fault through the runtime-registered handler, or the default handler.
irq_handler
IRQ handler.
page_fault_handler
Page fault handler.
set_irq_handler
Installs the global IRQ trap hook and returns the previous one.
set_page_fault_handler
Installs the global page-fault trap hook and returns the previous one.

Type Aliases§

IrqHandler
IRQ trap hook type.
PageFaultHandler
Page-fault trap hook type.

Attribute Macros§

breakpoint_handler
Breakpoint handler.
debug_handlerx86-64
Debug handler.
irq_handler
IRQ handler.
page_fault_handler
Page fault handler.