From c952b5b124693c3864dbdf6ab5bb80fb399f2af2 Mon Sep 17 00:00:00 2001 From: Scott Duplichan Date: Fri, 10 Apr 2015 00:42:30 +0000 Subject: [PATCH] CorebootModulePkg: Add EFIAPI to OnReadyToBoot to fix gcc compile fail Make OnReadyToBoot function match the prototype in UefiLib.h. The change only affects gcc builds because EFIAPI ABI differs from the default ABI when building with gcc. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan Reviewed-by: Jordan Justen Reviewed-by: Maurice Ma git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17137 6f19259b-4bc3-4df7-8a09-765794883524 --- CorebootModulePkg/CbSupportDxe/CbSupportDxe.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 CorebootModulePkg/CbSupportDxe/CbSupportDxe.c diff --git a/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c b/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c old mode 100644 new mode 100755 index 1b3e74a525..e752d1212e --- a/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c +++ b/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c @@ -98,9 +98,10 @@ CbReserveResourceInGcd ( **/ VOID +EFIAPI OnReadyToBoot ( - EFI_EVENT Event, - VOID *Context + IN EFI_EVENT Event, + IN VOID *Context ) { // -- 2.39.2