/** @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
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
**/\r
EFI_STATUS\r
ManageIdtEntryTable (\r
- VOID (*NewCallback)(),\r
+ VOID (EFIAPI *NewCallback)(),\r
EFI_EXCEPTION_TYPE ExceptionType\r
);\r
\r
VOID\r
HookEntry (\r
IN EFI_EXCEPTION_TYPE ExceptionType,\r
- IN VOID (*NewCallback) ()\r
+ IN VOID (EFIAPI *NewCallback) ()\r
);\r
\r
/**\r