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 <scott@notabs.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17137 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Scott Duplichan 2015-04-10 00:42:30 +00:00 committed by mauricema
parent 53deb15e3a
commit c952b5b124
1 changed files with 3 additions and 2 deletions

5
CorebootModulePkg/CbSupportDxe/CbSupportDxe.c Normal file → Executable file
View File

@ -98,9 +98,10 @@ CbReserveResourceInGcd (
**/
VOID
EFIAPI
OnReadyToBoot (
EFI_EVENT Event,
VOID *Context
IN EFI_EVENT Event,
IN VOID *Context
)
{
//