Lines Matching +full:entry +full:- +full:address
1 // SPDX-License-Identifier: GPL-2.0-only
9 unsigned long address = (unsigned long)handler; in set_idt_entry() local
10 gate_desc entry; in set_idt_entry() local
12 memset(&entry, 0, sizeof(entry)); in set_idt_entry()
14 entry.offset_low = (u16)(address & 0xffff); in set_idt_entry()
15 entry.segment = __KERNEL_CS; in set_idt_entry()
16 entry.bits.type = GATE_TRAP; in set_idt_entry()
17 entry.bits.p = 1; in set_idt_entry()
18 entry.offset_middle = (u16)((address >> 16) & 0xffff); in set_idt_entry()
19 entry.offset_high = (u32)(address >> 32); in set_idt_entry()
21 memcpy(&boot_idt[vector], &entry, sizeof(entry)); in set_idt_entry()
33 boot_idt_desc.address = (unsigned long)boot_idt; in load_stage1_idt()
46 * in order to be able to fault-in identity mapping ranges; see
50 * IDT is loaded and there the #VC IDT entry gets setup too.
56 * (and, especially set_page_decrypted()) because the SEV-ES setup code
61 boot_idt_desc.address = (unsigned long)boot_idt; in load_stage2_idt()
84 * SEV-ES guest. in cleanup_exception_handling()
88 /* Set a null-idt, disabling #PF and #VC handling */ in cleanup_exception_handling()
90 boot_idt_desc.address = 0; in cleanup_exception_handling()