diff options
Diffstat (limited to 'src/include/ipxe/efi/efi_shim.h')
-rw-r--r-- | src/include/ipxe/efi/efi_shim.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_shim.h b/src/include/ipxe/efi/efi_shim.h new file mode 100644 index 00000000..21f24315 --- /dev/null +++ b/src/include/ipxe/efi/efi_shim.h @@ -0,0 +1,24 @@ +#ifndef _IPXE_EFI_SHIM_H +#define _IPXE_EFI_SHIM_H + +/** @file + * + * UEFI shim special handling + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +#include <ipxe/image.h> +#include <ipxe/efi/efi.h> + +extern int efi_shim_require_loader; +extern int efi_shim_allow_pxe; +extern int efi_shim_allow_sbat; +extern struct image_tag efi_shim __image_tag; + +extern int efi_shim_install ( struct image *shim, EFI_HANDLE handle, + wchar_t **cmdline ); +extern void efi_shim_uninstall ( void ); + +#endif /* _IPXE_EFI_SHIM_H */ |