From 6d3ea23f1183f3378a53e44d34c0a27aebec7d9a Mon Sep 17 00:00:00 2001 From: jljusten Date: Fri, 10 Apr 2009 20:58:18 +0000 Subject: Fix various 'EFIAPI' inconsistencies found while building MdeModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8062 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DebugSupportDxe/DebugSupport.c | 3 ++- MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h | 8 ++++---- MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupport.c | 4 ++-- MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupportIa32.c | 4 ++-- MdeModulePkg/Universal/DebugSupportDxe/X64/PlDebugSupportX64.c | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-) (limited to 'MdeModulePkg/Universal/DebugSupportDxe') diff --git a/MdeModulePkg/Universal/DebugSupportDxe/DebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/DebugSupport.c index 976e0e9713..bf668b5a97 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/DebugSupport.c +++ b/MdeModulePkg/Universal/DebugSupportDxe/DebugSupport.c @@ -1,7 +1,7 @@ /** @file Top level C file for debug support driver. Contains initialization function. -Copyright (c) 2006 - 2008, Intel Corporation.
+Copyright (c) 2006 - 2009, Intel Corporation.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -38,6 +38,7 @@ EFI_DEBUG_SUPPORT_PROTOCOL mDebugSupportProtocolInterface = { **/ EFI_STATUS +EFIAPI InitializeDebugSupportDriver ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h index 1af8a89833..4628117b09 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h +++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/DebugSupport.h @@ -1,7 +1,7 @@ /** @file Generic debug support macros, typedefs and prototypes for IA32/x64. -Copyright (c) 2006 - 2008, Intel Corporation +Copyright (c) 2006 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -42,7 +42,7 @@ typedef struct { DEBUG_PROC OrigVector; IA32_IDT_GATE_DESCRIPTOR NewDesc; DEBUG_PROC StubEntry; - VOID (*RegisteredCallback) (); + VOID (EFIAPI *RegisteredCallback) (); } IDT_ENTRY; extern UINT8 InterruptEntryStub[]; @@ -258,7 +258,7 @@ GetInterruptHandleFromIdt ( **/ EFI_STATUS ManageIdtEntryTable ( - VOID (*NewCallback)(), + VOID (EFIAPI *NewCallback)(), EFI_EXCEPTION_TYPE ExceptionType ); @@ -277,7 +277,7 @@ ManageIdtEntryTable ( VOID HookEntry ( IN EFI_EXCEPTION_TYPE ExceptionType, - IN VOID (*NewCallback) () + IN VOID (EFIAPI *NewCallback) () ); /** diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupport.c index ed38d06cae..b9a57142ee 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupport.c +++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupport.c @@ -1,7 +1,7 @@ /** @file IA32/x64 generic functions to support Debug Support protocol. -Copyright (c) 2006 - 2008, Intel Corporation +Copyright (c) 2006 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -78,7 +78,7 @@ WriteIdtGateDescriptor ( VOID HookEntry ( IN EFI_EXCEPTION_TYPE ExceptionType, - IN VOID (*NewCallback) () + IN VOID (EFIAPI *NewCallback) () ) { BOOLEAN OldIntFlagState; diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupportIa32.c b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupportIa32.c index b7c182f580..ab8d9a94f1 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupportIa32.c +++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/PlDebugSupportIa32.c @@ -1,7 +1,7 @@ /** @file IA32 specific functions to support Debug Support protocol. -Copyright (c) 2008, Intel Corporation +Copyright (c) 2008 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -107,7 +107,7 @@ CreateEntryStub ( **/ EFI_STATUS ManageIdtEntryTable ( - VOID (*NewCallback)(), + VOID (EFIAPI *NewCallback)(), EFI_EXCEPTION_TYPE ExceptionType ) { diff --git a/MdeModulePkg/Universal/DebugSupportDxe/X64/PlDebugSupportX64.c b/MdeModulePkg/Universal/DebugSupportDxe/X64/PlDebugSupportX64.c index 1a0aeb1901..4d13ca3833 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/X64/PlDebugSupportX64.c +++ b/MdeModulePkg/Universal/DebugSupportDxe/X64/PlDebugSupportX64.c @@ -1,7 +1,7 @@ /** @file X64 specific functions to support Debug Support protocol. -Copyright (c) 2008, Intel Corporation +Copyright (c) 2008 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -108,7 +108,7 @@ CreateEntryStub ( **/ EFI_STATUS ManageIdtEntryTable ( - VOID (*NewCallback)(), + VOID (EFIAPI *NewCallback)(), EFI_EXCEPTION_TYPE ExceptionType ) { -- cgit v1.2.3