Function x86_64::instructions::tables::lidt

source ·
pub unsafe fn lidt(idt: &DescriptorTablePointer)
Available on crate feature instructions only.
Expand description

Load an IDT.

Use the InterruptDescriptorTable struct for a high-level interface to loading an IDT.

§Safety

This function is unsafe because the caller must ensure that the given DescriptorTablePointer points to a valid IDT and that loading this IDT is safe.