mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[efi] Wrap any images loaded by our wrapped image
Propagate our modified EFI system table to any images loaded by the image that we wrap, thereby allowing us to observe boot services calls made by all subsequent EFI images. Also show details of intercepted ExitBootServices() calls. When wrapping is used, exiting boot services will almost certainly fail, but this at least allows us to see when it happens. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
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 );
|
||||
extern void efi_wrap ( EFI_HANDLE handle );
|
||||
|
||||
#endif /* _IPXE_EFI_WRAP_H */
|
||||
|
||||
@@ -306,6 +306,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define ERRFILE_xenbus ( ERRFILE_OTHER | 0x00430000 )
|
||||
#define ERRFILE_xengrant ( ERRFILE_OTHER | 0x00440000 )
|
||||
#define ERRFILE_efi_utils ( ERRFILE_OTHER | 0x00450000 )
|
||||
#define ERRFILE_efi_wrap ( ERRFILE_OTHER | 0x00460000 )
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user