]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/DebugSupport/Dxe/x64/plDebugSupport.h
Allocate memory in DebugSupport beforehand, in order to avoid calling memory allocati...
[mirror_edk2.git] / EdkModulePkg / Universal / DebugSupport / Dxe / x64 / plDebugSupport.h
index 68866a83c3d13a0592f4aec665ffef5d67910978..42c849ea419db7a7863c9bd8ad6d83496b8c05a6 100644 (file)
@@ -31,11 +31,18 @@ typedef struct {
   UINT64 High;\r
 } 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