summaryrefslogtreecommitdiff
path: root/EdkNt32Pkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-08 07:04:05 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-08 07:04:05 +0000
commitdf557cca2f35a759a92c4b8e26c410505027d4fd (patch)
tree936ad735ca6e6894b898c8d7302a62400b05a3c0 /EdkNt32Pkg
parent5b396948e7501bc0ea4b655f7b3c50dbd14552c6 (diff)
downloadedk2-platforms-df557cca2f35a759a92c4b8e26c410505027d4fd.tar.xz
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
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;