CorebootModulePkg: Add EFIAPI to OnReadyToBoot to fix gcc compile fail
authorScott Duplichan <scott@notabs.org>
Fri, 10 Apr 2015 00:42:30 +0000 (00:42 +0000)
committermauricema <mauricema@Edk2>
Fri, 10 Apr 2015 00:42:30 +0000 (00:42 +0000)
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

CorebootModulePkg/CbSupportDxe/CbSupportDxe.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 1b3e74a..e752d12
@@ -98,9 +98,10 @@ CbReserveResourceInGcd (
 \r
 **/\r
 VOID\r
+EFIAPI\r
 OnReadyToBoot (\r
-  EFI_EVENT  Event,\r
-  VOID       *Context\r
+  IN  EFI_EVENT  Event,\r
+  IN  VOID       *Context\r
   )\r
 {      \r
        //\r