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 FILE_SECBOOT ( PERMITTED );
12 
13 #include <ipxe/image.h>
14 #include <ipxe/efi/efi.h>
15 
16 extern int efi_shim_require_loader;
17 extern int efi_shim_allow_pxe;
18 extern int efi_shim_allow_sbat;
19 extern struct image_tag efi_shim __image_tag;
20 
21 extern int efi_shim_install ( struct image *shim, EFI_HANDLE handle,
22  wchar_t **cmdline );
23 extern void efi_shim_uninstall ( void );
24 
25 #endif /* _IPXE_EFI_SHIM_H */
struct image_tag efi_shim __image_tag
The downloaded flattened device tree tag.
Definition: fdt.c:48
An image tag.
Definition: image.h:173
void efi_shim_uninstall(void)
Uninstall UEFI shim special handling.
Definition: efi_shim.c:375
An executable image.
Definition: image.h:24
FILE_SECBOOT(PERMITTED)
int efi_shim_allow_sbat
Allow SBAT variable access.
Definition: efi_shim.c:107
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:341
EFI API.
int efi_shim_require_loader
Require use of a third party loader binary.
Definition: efi_shim.c:69
uint32_t cmdline
Definition: multiboot.h:16
int efi_shim_allow_pxe
Allow use of PXE base code protocol.
Definition: efi_shim.c:87
uint16_t handle
Handle.
Definition: smbios.h:17
int shim(struct image *image, int require_loader, int allow_pxe, int allow_sbat)
Set shim image.
Definition: shimmgmt.c:46
Definition: efi.h:62