[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>
This commit is contained in:
Michael Brown
2014-07-16 01:25:37 +01:00
parent 8a380987c1
commit c3b6ccf65b
3 changed files with 257 additions and 0 deletions

View File

@@ -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 */