iPXE
efi_wrap.h
Go to the documentation of this file.
1#ifndef _IPXE_EFI_WRAP_H
2#define _IPXE_EFI_WRAP_H
3
4/** @file
5 *
6 * EFI driver interface
7 */
8
9FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
10FILE_SECBOOT ( PERMITTED );
11
12#include <ipxe/efi/efi.h>
13
14extern void efi_wrap_bs ( EFI_BOOT_SERVICES *wrapped );
15extern void efi_wrap_rs ( EFI_RUNTIME_SERVICES *wrapped );
16extern void efi_wrap_systab ( int global );
17extern void efi_unwrap ( void );
18
19extern void efi_wrap_image ( EFI_HANDLE handle );
20
21#endif /* _IPXE_EFI_WRAP_H */
void efi_wrap_systab(int global)
Wrap the public EFI system table.
Definition efi_wrap.c:1500
void efi_unwrap(void)
Remove boot services table wrapper.
Definition efi_wrap.c:1543
void efi_wrap_image(EFI_HANDLE handle)
Wrap calls made by a newly loaded image.
Definition efi_wrap.c:1567
void efi_wrap_rs(EFI_RUNTIME_SERVICES *wrapped)
Wrap a runtime services table.
Definition efi_wrap.c:1476
void efi_wrap_bs(EFI_BOOT_SERVICES *wrapped)
Wrap a boot services table.
Definition efi_wrap.c:1413
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
EFI API.
#define EFI_HANDLE
Definition efi.h:53
uint16_t handle
Handle.
Definition smbios.h:5
EFI Boot Services Table.
Definition UefiSpec.h:1931
EFI Runtime Services Table.
Definition UefiSpec.h:1880