summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/efi_shim.h
blob: 21f24315a3f0763e3296d214291bb57523606def (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 */