mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
53deb15e3a
commit
c952b5b124
5
CorebootModulePkg/CbSupportDxe/CbSupportDxe.c
Normal file → Executable file
5
CorebootModulePkg/CbSupportDxe/CbSupportDxe.c
Normal file → Executable file
@ -98,9 +98,10 @@ CbReserveResourceInGcd (
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
OnReadyToBoot (
|
||||
EFI_EVENT Event,
|
||||
VOID *Context
|
||||
IN EFI_EVENT Event,
|
||||
IN VOID *Context
|
||||
)
|
||||
{
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user