#include <stdlib.h>#include <gpxe/init.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. | |
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| EFI_STATUS EFIAPI _start | ( | EFI_HANDLE | image_handle, | |
| EFI_SYSTEM_TABLE * | systab | |||
| ) |
EFI entry point.
| image_handle | Image handle | |
| systab | System table |
| efirc | EFI return status code |
Definition at line 32 of file efidrvprefix.c.
References efi_init(), efi_snp_install(), initialise(), RC_TO_EFIRC, and startup().
00033 { 00034 EFI_STATUS efirc; 00035 00036 /* Initialise EFI environment */ 00037 if ( ( efirc = efi_init ( image_handle, systab ) ) != 0 ) 00038 return efirc; 00039 00040 /* Initialise gPXE environment */ 00041 initialise(); 00042 startup(); 00043 00044 /* Install SNP driver and return */ 00045 return RC_TO_EFIRC ( efi_snp_install () ); 00046 }
1.5.7.1