CorebootModulePkg/CbSupportDxe: Add EFIAPI to CbDxeEntryPoint
authorScott Duplichan <scott@notabs.org>
Fri, 10 Apr 2015 02:42:08 +0000 (02:42 +0000)
committermauricema <mauricema@Edk2>
Fri, 10 Apr 2015 02:42:08 +0000 (02:42 +0000)
All image entry point functions must use EFIAPI.

Some GCC toolchains will have a build error without this fix.

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: Prince Agyeman <prince.agyeman@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17154 6f19259b-4bc3-4df7-8a09-765794883524

CorebootModulePkg/CbSupportDxe/CbSupportDxe.c

index 8419c9d..68baad6 100755 (executable)
@@ -123,6 +123,7 @@ OnReadyToBoot (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 CbDxeEntryPoint (\r
   IN EFI_HANDLE         ImageHandle,\r
   IN EFI_SYSTEM_TABLE   *SystemTable\r