diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-08-29 13:10:18 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-08-29 13:10:18 +0100 |
commit | 0cc2f42f467e27945070a4036a6a1f928bc7018f (patch) | |
tree | 01c32a6d5c77eb906547a875701473e29bba6e85 /src/image | |
parent | 2cb95c902859a59a17123d42097cbe663e6ee62e (diff) | |
download | ipxe-0cc2f42f467e27945070a4036a6a1f928bc7018f.tar.gz |
[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>
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/efi_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/efi_image.c b/src/image/efi_image.c index ce1d4b837..83da9d9bf 100644 --- a/src/image/efi_image.c +++ b/src/image/efi_image.c @@ -227,7 +227,7 @@ static int efi_image_exec ( struct image *image ) { efi_snp_release(); /* Wrap calls made by the loaded image (for debugging) */ - efi_wrap ( handle, loaded.image ); + efi_wrap ( handle ); /* Start the image */ if ( ( efirc = bs->StartImage ( handle, NULL, NULL ) ) != 0 ) { |