]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupportIa32.c
1. Use Mde library for Debug Port Module
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ia32 / PlDebugSupportIa32.c
index d2073f65fd29bb02c7fa6ed5b1b262815540d990..290fea69d5c12c9f50d809a3c3d26a1fec4f657c 100644 (file)
@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
-#include "DebugSupport.h"\r
+#include "PlDebugSupport.h"\r
 \r
 IA32_IDT_GATE_DESCRIPTOR  NullDesc = {{0}};\r
 \r
@@ -30,7 +30,11 @@ GetInterruptHandleFromIdt (
   )\r
 {\r
   UINTN      InterruptHandle;\r
\r
+\r
+  //\r
+  // InterruptHandle  0-15 : OffsetLow\r
+  // InterruptHandle 16-31 : OffsetHigh\r
+  //\r
   ((UINT16 *) &InterruptHandle)[0] = (UINT16) IdtGateDescriptor->Bits.OffsetLow;\r
   ((UINT16 *) &InterruptHandle)[1] = (UINT16) IdtGateDescriptor->Bits.OffsetHigh;\r
 \r