diff options
author | Michael Brown | 2014-07-16 02:25:37 +0200 |
---|---|---|
committer | Michael Brown | 2014-07-16 02:58:19 +0200 |
commit | c3b6ccf65b21e7f3abda5317b16cb3105af3f272 (patch) | |
tree | a9fa5606b85fd5106dd5116d054d70069b24d8ae /src/include/ipxe | |
parent | [efi] Install our own disk I/O protocol and claim exclusive use of it (diff) | |
download | ipxe-c3b6ccf65b21e7f3abda5317b16cb3105af3f272.tar.gz ipxe-c3b6ccf65b21e7f3abda5317b16cb3105af3f272.tar.xz ipxe-c3b6ccf65b21e7f3abda5317b16cb3105af3f272.zip |
[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')
-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 00000000..1d92a047 --- /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 */ |