From: Scott Duplichan Date: Fri, 10 Apr 2015 00:42:30 +0000 (+0000) Subject: CorebootModulePkg: Add EFIAPI to OnReadyToBoot to fix gcc compile fail X-Git-Tag: edk2-stable201903~10076 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c952b5b124693c3864dbdf6ab5bb80fb399f2af2 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 --- 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 ) { //