unsafe fn read_gdt_raw(gdt_base: *const u64, index: usize) -> u64Expand description
Reads an 8-byte GDT descriptor at the given index (base 0).
ยงSafety
gdt_base must be the address returned by sgdt and index must remain
within the limit of the GDTR.