From 4a5b245a52364e8d63a40eb8790d0b2f2925de9d Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 25 May 2010 06:17:51 +0000 Subject: Status code handler callback should be declared as EFIAPI git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10541 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/StatusCodeHandler/Pei/MemoryStausCodeWorker.c | 3 ++- MdeModulePkg/Universal/StatusCodeHandler/Pei/SerialStatusCodeWorker.c | 3 ++- MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.h | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Universal/StatusCodeHandler/Pei/MemoryStausCodeWorker.c b/MdeModulePkg/Universal/StatusCodeHandler/Pei/MemoryStausCodeWorker.c index 2f11d054e1..7ae314d7ec 100644 --- a/MdeModulePkg/Universal/StatusCodeHandler/Pei/MemoryStausCodeWorker.c +++ b/MdeModulePkg/Universal/StatusCodeHandler/Pei/MemoryStausCodeWorker.c @@ -1,7 +1,7 @@ /** @file PEI memory status code worker. - Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2010, 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 @@ -93,6 +93,7 @@ MemoryStatusCodeInitializeWorker ( **/ EFI_STATUS +EFIAPI MemoryStatusCodeReportWorker ( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_STATUS_CODE_TYPE CodeType, diff --git a/MdeModulePkg/Universal/StatusCodeHandler/Pei/SerialStatusCodeWorker.c b/MdeModulePkg/Universal/StatusCodeHandler/Pei/SerialStatusCodeWorker.c index 1220c40197..098347fd98 100644 --- a/MdeModulePkg/Universal/StatusCodeHandler/Pei/SerialStatusCodeWorker.c +++ b/MdeModulePkg/Universal/StatusCodeHandler/Pei/SerialStatusCodeWorker.c @@ -1,7 +1,7 @@ /** @file Serial I/O status code reporting worker. - Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2010, 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 @@ -37,6 +37,7 @@ **/ EFI_STATUS +EFIAPI SerialStatusCodeReportWorker ( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_STATUS_CODE_TYPE CodeType, diff --git a/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.h b/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.h index 551860f898..d4ac756cd0 100644 --- a/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.h +++ b/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.h @@ -1,7 +1,7 @@ /** @file Internal include file for Status Code Handler PEIM. - Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2010, 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 @@ -55,6 +55,7 @@ **/ EFI_STATUS +EFIAPI SerialStatusCodeReportWorker ( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_STATUS_CODE_TYPE CodeType, @@ -103,6 +104,7 @@ MemoryStatusCodeInitializeWorker ( **/ EFI_STATUS +EFIAPI MemoryStatusCodeReportWorker ( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_STATUS_CODE_TYPE CodeType, -- cgit v1.2.3