]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h
Fix various 'EFIAPI' inconsistencies found while building MdeModulePkg.
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ia32 / DebugSupport.h
index 1af8a8983374c551bb4da872a8a44724e752942a..4628117b0956b73a9922072ab0484ca9005c6f92 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Generic debug support macros, typedefs and prototypes for IA32/x64.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -42,7 +42,7 @@ typedef struct {
   DEBUG_PROC                OrigVector;\r
   IA32_IDT_GATE_DESCRIPTOR  NewDesc;\r
   DEBUG_PROC                StubEntry;\r
-  VOID (*RegisteredCallback) ();\r
+  VOID (EFIAPI *RegisteredCallback) ();\r
 } IDT_ENTRY;\r
 \r
 extern UINT8                     InterruptEntryStub[];\r
@@ -258,7 +258,7 @@ GetInterruptHandleFromIdt (
 **/\r
 EFI_STATUS\r
 ManageIdtEntryTable (\r
-  VOID               (*NewCallback)(),\r
+  VOID               (EFIAPI *NewCallback)(),\r
   EFI_EXCEPTION_TYPE ExceptionType\r
   );\r
 \r
@@ -277,7 +277,7 @@ ManageIdtEntryTable (
 VOID\r
 HookEntry (\r
   IN EFI_EXCEPTION_TYPE            ExceptionType,\r
-  IN VOID                         (*NewCallback) ()\r
+  IN VOID                         (EFIAPI *NewCallback) ()\r
   );\r
 \r
 /**\r