Function exceptions_early::init

source ·
pub fn init(double_fault_stack_top_unusable: Option<VirtualAddress>)
Expand description

Initializes an early IDT with a basic set of early exception handlers that print out basic information when an exception occurs, mostly for debugging.

If a double fault stack address is specified, a new TSS and GDT will be created and set up such that the processor will jump to that stack upon a double fault.