efiprefix.c File Reference

#include <stdlib.h>
#include <gpxe/efi/efi.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
EFI_STATUS EFIAPI _start (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab)
 EFI entry point.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

EFI_STATUS EFIAPI _start ( EFI_HANDLE  image_handle,
EFI_SYSTEM_TABLE systab 
)

EFI entry point.

Parameters:
image_handle Image handle
systab System table
Return values:
efirc EFI return status code

Definition at line 31 of file efiprefix.c.

References efi_init(), main(), and RC_TO_EFIRC.

00032                                                       {
00033         EFI_STATUS efirc;
00034 
00035         /* Initialise EFI environment */
00036         if ( ( efirc = efi_init ( image_handle, systab ) ) != 0 )
00037                 return efirc;
00038 
00039         /* Call to main() */
00040         return RC_TO_EFIRC ( main () );
00041 }


Generated on Tue Apr 6 20:01:13 2010 for gPXE by  doxygen 1.5.7.1