mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
[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:
16
src/include/ipxe/efi/efi_wrap.h
Normal file
16
src/include/ipxe/efi/efi_wrap.h
Normal 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 */
|
||||
Reference in New Issue
Block a user