Searched refs:IdtEntry (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/
H A DSetIdtEntry.c45 INTERRUPT_GATE_DESCRIPTOR *IdtEntry; local
53 IdtEntry = (INTERRUPT_GATE_DESCRIPTOR *)(IdtDescriptor->Base + (3 * sizeof (INTERRUPT_GATE_DESCRIPTOR)));
56 IdtEntry->OffsetLow = (UINT16)S3DebugBuffer;
57 IdtEntry->SegmentSelector = (UINT16)AsmReadCs ();;
58 IdtEntry->Attributes = (UINT16)INTERRUPT_GATE_ATTRIBUTE;
59 IdtEntry->OffsetHigh = (UINT16)(S3DebugBuffer >> 16);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/
H A DSetIdtEntry.c47 INTERRUPT_GATE_DESCRIPTOR *IdtEntry; local
55 IdtEntry = (INTERRUPT_GATE_DESCRIPTOR *)(IdtDescriptor->Base + (3 * sizeof (INTERRUPT_GATE_DESCRIPTOR)));
58 IdtEntry->Offset15To0 = (UINT16)S3DebugBuffer;
59 IdtEntry->SegmentSelector = (UINT16)AsmReadCs ();;
60 IdtEntry->Attributes = (UINT16)INTERRUPT_GATE_ATTRIBUTE;
61 IdtEntry->Offset31To16 = (UINT16)(S3DebugBuffer >> 16);
62 IdtEntry->Offset63To32 = (UINT32)(S3DebugBuffer >> 32);
63 IdtEntry->Reserved = 0;
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/
H A DSecPeiDebugAgentLib.c28 IA32_IDT_GATE_DESCRIPTOR *IdtEntry; local
33 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor.Base;
35 Mailbox = IdtEntry[DEBUG_MAILBOX_VECTOR].Bits.OffsetLow + (IdtEntry[DEBUG_MAILBOX_VECTOR].Bits.OffsetHigh << 16);
50 IA32_IDT_GATE_DESCRIPTOR *IdtEntry; local
54 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor.Base;
56 IdtEntry[DEBUG_MAILBOX_VECTOR].Bits.OffsetLow = (UINT16)(UINTN)Mailbox;
57 IdtEntry[DEBUG_MAILBOX_VECTOR].Bits.OffsetHigh = (UINT16)((UINTN)Mailbox >> 16);
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/
H A DArchDebugSupport.c219 IA32_IDT_GATE_DESCRIPTOR *IdtEntry; local
232 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor.Base;
242 IdtEntry[Index].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
243 IdtEntry[Index].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
244 IdtEntry[Index].Bits.OffsetUpper = (UINT32)((UINTN)InterruptHandler >> 32);
245 IdtEntry[Index].Bits.Selector = CodeSegment;
246 IdtEntry[Index].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
250 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
251 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
252 IdtEntry[DEBUG_TIMER_VECTO
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/
H A DArchDebugSupport.c208 IA32_IDT_GATE_DESCRIPTOR *IdtEntry; local
221 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor.Base;
231 IdtEntry[Index].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
232 IdtEntry[Index].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
233 IdtEntry[Index].Bits.Selector = CodeSegment;
234 IdtEntry[Index].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
238 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
239 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
240 IdtEntry[Index].Bits.Selector = CodeSegment;
241 IdtEntry[Inde
[all...]
/vbox/src/VBox/VMM/VMMR0/
H A DHMVMXR0.cpp8018 X86IDTR16 IdtEntry; local
8020 rc = PGMPhysSimpleReadGCPhys(pVM, &IdtEntry, GCPhysIdtEntry, cbIdtEntry);
8033 pMixedCtx->rip = IdtEntry.offSel;
8034 pMixedCtx->cs.Sel = IdtEntry.uSel;
8035 pMixedCtx->cs.ValidSel = IdtEntry.uSel;
8036 pMixedCtx->cs.u64Base = IdtEntry.uSel << cbIdtEntry;

Completed in 540 milliseconds