HomeSort by relevance Sort by last modified time
    Searched refs:IdtEntry (Results 1 - 14 of 14) sorted by null

  /device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/
IntHandlerFuncs.c 33 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
36 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor->Base;
37 if (IdtEntry == NULL) {
41 InterruptHandler = IdtEntry[InterruptType].Bits.OffsetLow +
42 (((UINTN)IdtEntry[InterruptType].Bits.OffsetHigh) << 16) +
43 (((UINTN)IdtEntry[InterruptType].Bits.OffsetUpper) << 32);
64 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
68 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor->Base;
69 CopyMem (SavedIdtEntry, &IdtEntry[1], sizeof (IA32_IDT_GATE_DESCRIPTOR));
77 IdtEntry[1].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
    [all...]
  /device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/
IntHandlerFuncs.c 33 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
36 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor->Base;
37 if (IdtEntry == NULL) {
41 InterruptHandler = IdtEntry[InterruptType].Bits.OffsetLow +
42 (IdtEntry[InterruptType].Bits.OffsetHigh << 16);
63 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
67 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor->Base;
68 CopyMem (SavedIdtEntry, &IdtEntry[1], sizeof (IA32_IDT_GATE_DESCRIPTOR));
76 IdtEntry[1].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
77 IdtEntry[1].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
    [all...]
  /device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/
ArchDebugSupport.c 26 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
40 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor.Base;
50 IdtEntry[Index].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
51 IdtEntry[Index].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
52 IdtEntry[Index].Bits.Selector = CodeSegment;
53 IdtEntry[Index].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
57 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
58 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
59 IdtEntry[DEBUG_TIMER_VECTOR].Bits.Selector = CodeSegment;
60 IdtEntry[DEBUG_TIMER_VECTOR].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
    [all...]
  /device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/IA32/
SetIdtEntry.c 45 INTERRUPT_GATE_DESCRIPTOR *IdtEntry;
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);
  /device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/
ArchDebugSupport.c 26 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
40 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor.Base;
50 IdtEntry[Index].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
51 IdtEntry[Index].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
52 IdtEntry[Index].Bits.OffsetUpper = (UINT32)((UINTN)InterruptHandler >> 32);
53 IdtEntry[Index].Bits.Selector = CodeSegment;
54 IdtEntry[Index].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
58 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
59 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
60 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetUpper = (UINT32)((UINTN)InterruptHandler >> 32);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/
SetIdtEntry.c 30 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
53 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *)(IdtDescriptor->Base + (3 * sizeof (IA32_IDT_GATE_DESCRIPTOR)));
54 IdtEntry->Bits.OffsetLow = (UINT16)S3DebugBuffer;
55 IdtEntry->Bits.Selector = (UINT16)AsmReadCs ();
56 IdtEntry->Bits.Reserved_0 = 0;
57 IdtEntry->Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
58 IdtEntry->Bits.OffsetHigh = (UINT16)(S3DebugBuffer >> 16);
  /device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
PageTbl.c 31 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
44 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) gcSmiIdtr.Base;
45 IdtEntry += EXCEPT_IA32_PAGE_FAULT;
46 IdtEntry->Bits.OffsetLow = (UINT16)PageFaultHandlerHookAddress;
47 IdtEntry->Bits.Reserved_0 = 0;
48 IdtEntry->Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
49 IdtEntry->Bits.OffsetHigh = (UINT16)(PageFaultHandlerHookAddress >> 16);
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/
SetIdtEntry.c 50 @param IdtEntry a pointer to IDT entry
55 IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry
76 mOriginalHandler = (VOID *)(UINTN)(LShiftU64 (IdtEntry->Bits.OffsetUpper, 32) + IdtEntry->Bits.OffsetLow + (IdtEntry->Bits.OffsetHigh << 16));
77 IdtEntry->Bits.OffsetLow = (UINT16)PageFaultHandlerHookAddress;
78 IdtEntry->Bits.Selector = (UINT16)AsmReadCs ();
79 IdtEntry->Bits.Reserved_0 = 0;
80 IdtEntry->Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
81 IdtEntry->Bits.OffsetHigh = (UINT16)(PageFaultHandlerHookAddress >> 16);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/X64/
X64Entry.c 57 @param[in, out] IdtEntry Pointer to IDT entry.
63 IN OUT IA32_IDT_GATE_DESCRIPTOR *IdtEntry,
85 PageFaultContext->OriginalHandler = (VOID *)(UINTN)(LShiftU64 (IdtEntry->Bits.OffsetUpper, 32) + IdtEntry->Bits.OffsetLow + (IdtEntry->Bits.OffsetHigh << 16));
86 IdtEntry->Bits.OffsetLow = (UINT16)PageFaultHandlerHookAddress;
87 IdtEntry->Bits.Selector = (UINT16)AsmReadCs ();
88 IdtEntry->Bits.Reserved_0 = 0;
89 IdtEntry->Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
90 IdtEntry->Bits.OffsetHigh = (UINT16)(PageFaultHandlerHookAddress >> 16);
    [all...]
  /device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/
ArchExceptionHandler.c 21 @param IdtEntry Pointer to IDT entry to be updated.
27 IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry,
31 IdtEntry->Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
32 IdtEntry->Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
33 IdtEntry->Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
39 @param IdtEntry Pointer to IDT entry to be read.
44 IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry
47 return (UINTN)IdtEntry->Bits.OffsetLow + (((UINTN)IdtEntry->Bits.OffsetHigh) << 16);
  /device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/
ArchExceptionHandler.c 21 @param IdtEntry Pointer to IDT entry to be updated.
26 IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry,
30 IdtEntry->Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
31 IdtEntry->Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
32 IdtEntry->Bits.OffsetUpper = (UINT32)((UINTN)InterruptHandler >> 32);
33 IdtEntry->Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
39 @param IdtEntry Pointer to IDT entry to be read.
44 IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry
47 return IdtEntry->Bits.OffsetLow + (((UINTN) IdtEntry->Bits.OffsetHigh) << 16) +
    [all...]
  /device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
CpuExceptionCommon.h 64 @param IdtEntry Pointer to IDT entry to be updated.
70 IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry,
77 @param IdtEntry Pointer to IDT entry to be read.
82 IN IA32_IDT_GATE_DESCRIPTOR *IdtEntry
  /device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
PageTbl.c 105 IA32_IDT_GATE_DESCRIPTOR *IdtEntry;
152 IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) gcSmiIdtr.Base;
153 IdtEntry += EXCEPT_IA32_PAGE_FAULT;
154 IdtEntry->Bits.OffsetLow = (UINT16)PageFaultHandlerHookAddress;
155 IdtEntry->Bits.Reserved_0 = 0;
156 IdtEntry->Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
157 IdtEntry->Bits.OffsetHigh = (UINT16)(PageFaultHandlerHookAddress >> 16);
158 IdtEntry->Bits.OffsetUpper = (UINT32)(PageFaultHandlerHookAddress >> 32);
159 IdtEntry->Bits.Reserved_1 = 0;
  /device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/
SmmDebugAgentLib.c 184 IA32_IDT_GATE_DESCRIPTOR IdtEntry[33];
237 CopyMem (&IdtEntry, (VOID *)IdtDescriptor.Base, 33 * sizeof(IA32_IDT_GATE_DESCRIPTOR));
273 CopyMem ((VOID *)IdtDescriptor.Base, &IdtEntry, 33 * sizeof(IA32_IDT_GATE_DESCRIPTOR));

Completed in 454 milliseconds