Home
last modified time | relevance | path

Searched refs:fw_gdt (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Dtrap.c78 static struct region_descriptor fw_gdt; /* Descriptor of pristine GDT */ variable
241 sgdt(&fw_gdt); in efi_redirect_exceptions()
245 for (i = 2; (i << 3) + sizeof (*gdt_desc) <= fw_gdt.rd_limit; in efi_redirect_exceptions()
248 fw_gdt.rd_base + (i << 3)); in efi_redirect_exceptions()
250 gdt_rd = &fw_gdt; in efi_redirect_exceptions()
261 loader_gdt.rd_limit = roundup2(fw_gdt.rd_limit + in efi_redirect_exceptions()
280 bcopy((void *)fw_gdt.rd_base, in efi_redirect_exceptions()
281 (void *)loader_gdt.rd_base, fw_gdt.rd_limit); in efi_redirect_exceptions()
292 fw_gdt.rd_base + tss_fw_seg); in efi_redirect_exceptions()
370 bare_lgdt(&fw_gdt); in efi_unredirect_exceptions()