From df557cca2f35a759a92c4b8e26c410505027d4fd Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 8 Mar 2007 07:04:05 +0000 Subject: 1. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI spec 2. Make performance data for End of BDS is not recorded in Boot Manager Boot git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2431 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkNt32Pkg/Dxe/PlatformBds/Generic/BdsEntry.c | 1 - EdkNt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'EdkNt32Pkg') diff --git a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BdsEntry.c b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BdsEntry.c index a26a79ffc5..6979db006c 100644 --- a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BdsEntry.c +++ b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BdsEntry.c @@ -216,7 +216,6 @@ Returns: // All the driver options should have been processed since // now boot will be performed. // - PERF_END (0, BDS_TOK, NULL, 0); Status = BdsLibBootViaBootOption (BootOption, BootOption->DevicePath, &ExitDataSize, &ExitData); if (EFI_ERROR (Status)) { // diff --git a/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c b/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c index 3963dbcd54..0c744db224 100644 --- a/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c +++ b/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c @@ -123,6 +123,11 @@ Returns: EFI_BLOCK_IO_PROTOCOL *BlkIo; VOID *Buffer; + // + // Record the performance data for End of BDS + // + PERF_END (0, BDS_TOK, NULL, 0); + *ExitDataSize = 0; *ExitData = NULL; -- cgit v1.2.3