rustubs::arch::x86_64::interrupt::idt

Function init

Source
pub fn init()
Expand description

initialize the idt: we reserved space for idt in assembly code (and linker script) we write contents to them now. One purpose is to save binary space. This also allows more flexibility for some interrupt handlers (e.g. when they needs a dedicated stack…)