diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-07-16 01:25:37 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-07-16 01:58:19 +0100 |
commit | c3b6ccf65b21e7f3abda5317b16cb3105af3f272 (patch) | |
tree | a9fa5606b85fd5106dd5116d054d70069b24d8ae /src/include/ipxe/efi/efi_wrap.h | |
parent | 8a380987c16b5b7269ed98efa8d8055c01638047 (diff) | |
download | ipxe-c3b6ccf65b21e7f3abda5317b16cb3105af3f272.zip ipxe-c3b6ccf65b21e7f3abda5317b16cb3105af3f272.tar.gz ipxe-c3b6ccf65b21e7f3abda5317b16cb3105af3f272.tar.bz2 |
[efi] Allow for interception of boot services calls by loaded image
When building with DEBUG=efi_wrap, print details of calls made by the
loaded image to selected boot services functions.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_wrap.h')
-rw-r--r-- | src/include/ipxe/efi/efi_wrap.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_wrap.h b/src/include/ipxe/efi/efi_wrap.h new file mode 100644 index 0000000..1d92a04 --- /dev/null +++ b/src/include/ipxe/efi/efi_wrap.h @@ -0,0 +1,16 @@ +#ifndef _IPXE_EFI_WRAP_H +#define _IPXE_EFI_WRAP_H + +/** @file + * + * EFI driver interface + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include <ipxe/efi/efi.h> +#include <ipxe/efi/Protocol/LoadedImage.h> + +extern void efi_wrap ( EFI_HANDLE handle, EFI_LOADED_IMAGE_PROTOCOL *loaded ); + +#endif /* _IPXE_EFI_WRAP_H */ |