From c3b6ccf65b21e7f3abda5317b16cb3105af3f272 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 16 Jul 2014 01:25:37 +0100 Subject: [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 --- src/include/ipxe/efi/efi_wrap.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/include/ipxe/efi/efi_wrap.h (limited to 'src/include') diff --git a/src/include/ipxe/efi/efi_wrap.h b/src/include/ipxe/efi/efi_wrap.h new file mode 100644 index 000000000..1d92a0478 --- /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 +#include + +extern void efi_wrap ( EFI_HANDLE handle, EFI_LOADED_IMAGE_PROTOCOL *loaded ); + +#endif /* _IPXE_EFI_WRAP_H */ -- cgit v1.2.3-55-g7522