summaryrefslogtreecommitdiff
path: root/EdkNt32Pkg
diff options
context:
space:
mode:
Diffstat (limited to 'EdkNt32Pkg')
-rw-r--r--EdkNt32Pkg/Dxe/PlatformBds/Generic/BdsEntry.c1
-rw-r--r--EdkNt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c5
2 files changed, 5 insertions, 1 deletions
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;