iPXE
Functions
efi_image.h File Reference

EFI images. More...

#include <ipxe/image.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
struct image_type efi_image_type [] __image_type (PROBE_NORMAL)
 
static int efi_can_load (struct image *image)
 Check if EFI image can be loaded directly. More...
 

Detailed Description

EFI images.

Definition in file efi_image.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __image_type()

struct image_type efi_image_type [] __image_type ( PROBE_NORMAL  )

◆ efi_can_load()

static int efi_can_load ( struct image image)
inlinestatic

Check if EFI image can be loaded directly.

Parameters
imageEFI image
Return values
can_loadEFI image can be loaded directly

Definition at line 22 of file efi_image.h.

22  {
23 
24  return ( image->type == efi_image_type );
25 }
struct image_type * type
Image type, if known.
Definition: image.h:46
An executable image.
Definition: image.h:24

References image::type.

Referenced by efi_image_exec(), and shim_exec().