diff options
author | Scott Duplichan <scott@notabs.org> | 2015-04-10 00:42:30 +0000 |
---|---|---|
committer | mauricema <mauricema@Edk2> | 2015-04-10 00:42:30 +0000 |
commit | c952b5b124693c3864dbdf6ab5bb80fb399f2af2 (patch) | |
tree | d06d19c0f537646ed423d289fb4c434e93ac3c53 /CorebootModulePkg | |
parent | 53deb15e3a3d7180701585f280d0f952d19d44d9 (diff) | |
download | edk2-platforms-c952b5b124693c3864dbdf6ab5bb80fb399f2af2.tar.xz |
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
Diffstat (limited to 'CorebootModulePkg')
-rwxr-xr-x[-rw-r--r--] | CorebootModulePkg/CbSupportDxe/CbSupportDxe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c b/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c index 1b3e74a525..e752d1212e 100644..100755 --- 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
)
{
//
|