diff options
author | Michael Brown | 2014-08-29 14:10:18 +0200 |
---|---|---|
committer | Michael Brown | 2014-08-29 14:10:18 +0200 |
commit | 0cc2f42f467e27945070a4036a6a1f928bc7018f (patch) | |
tree | 01c32a6d5c77eb906547a875701473e29bba6e85 /src/image | |
parent | [efi] Make our virtual file system case insensitive (diff) | |
download | ipxe-0cc2f42f467e27945070a4036a6a1f928bc7018f.tar.gz ipxe-0cc2f42f467e27945070a4036a6a1f928bc7018f.tar.xz ipxe-0cc2f42f467e27945070a4036a6a1f928bc7018f.zip |
[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 ce1d4b83..83da9d9b 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 ) { |