]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/plDebugSupport.h
Allocate memory in DebugSupport beforehand, in order to avoid calling memory allocati...
[mirror_edk2.git] / EdkModulePkg / Universal / DebugSupport / Dxe / Ia32 / plDebugSupport.h
index cb1a6c7c82344c6c8f5fc774047cd2d8dcb4a9a6..ce8a3fedaedad8b0669188288f65d3743d9e39b9 100644 (file)
@@ -28,11 +28,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 typedef UINT64  DESCRIPTOR;\r
 \r
+typedef\r
+VOID\r
+(*DEBUG_PROC) (\r
+  VOID\r
+  )\r
+;\r
+\r
 typedef struct {\r
   DESCRIPTOR  OrigDesc;\r
-  VOID (*OrigVector) (VOID);\r
+  DEBUG_PROC  OrigVector;\r
   DESCRIPTOR  NewDesc;\r
-  VOID (*StubEntry) (VOID);\r
+  DEBUG_PROC  StubEntry;\r
   VOID (*RegisteredCallback) ();\r
 } IDT_ENTRY;\r
 \r