iPXE
efi_shim.h
Go to the documentation of this file.
1 #ifndef _IPXE_EFI_SHIM_H
2 #define _IPXE_EFI_SHIM_H
3 
4 /** @file
5  *
6  * UEFI shim special handling
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <ipxe/image.h>
13 #include <ipxe/efi/efi.h>
14 
15 extern int efi_shim_require_loader;
16 extern int efi_shim_allow_pxe;
17 extern int efi_shim_allow_sbat;
18 extern struct image_tag efi_shim __image_tag;
19 
20 extern int efi_shim_install ( struct image *shim, EFI_HANDLE handle,
21  wchar_t **cmdline );
22 extern void efi_shim_uninstall ( void );
23 
24 #endif /* _IPXE_EFI_SHIM_H */
struct image_tag efi_shim __image_tag
Image selected for execution.
Definition: image.c:60
An image tag.
Definition: image.h:154
void efi_shim_uninstall(void)
Uninstall UEFI shim special handling.
Definition: efi_shim.c:387
An executable image.
Definition: image.h:24
int efi_shim_allow_sbat
Allow SBAT variable access.
Definition: efi_shim.c:105
Executable images.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int efi_shim_install(struct image *shim, EFI_HANDLE handle, wchar_t **cmdline)
Install UEFI shim special handling.
Definition: efi_shim.c:353
EFI API.
int efi_shim_require_loader
Require use of a third party loader binary.
Definition: efi_shim.c:67
uint32_t cmdline
Definition: multiboot.h:16
int efi_shim_allow_pxe
Allow use of PXE base code protocol.
Definition: efi_shim.c:85
uint16_t handle
Handle.
Definition: smbios.h:16
int shim(struct image *image, int require_loader, int allow_pxe, int allow_sbat)
Set shim image.
Definition: shimmgmt.c:45
Definition: efi.h:59