summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg
diff options
context:
space:
mode:
authorCinnamon Shia <cinnamon.shia@hpe.com>2016-10-03 17:28:30 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-10-10 10:26:06 +0800
commitcf8140930ab23497f729b1750b5962fe18dbc685 (patch)
tree4080804a50722b094d6a54435374802f5f02f0bf /Nt32Pkg
parent6859cc8b72d3c205853dd1030b143439f5b2215a (diff)
downloadedk2-cf8140930ab23497f729b1750b5962fe18dbc685.tar.gz
edk2-cf8140930ab23497f729b1750b5962fe18dbc685.tar.bz2
edk2-cf8140930ab23497f729b1750b5962fe18dbc685.zip
Nt32Pkg/PlatformBootManagerLib: Signal the End of DXE Event
From PI spec vol2: Prior to invoking any UEFI drivers, applications, or connecting consoles, the platform should signal the event EFI_END_OF_DXE_EVENT_GUID Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'Nt32Pkg')
-rw-r--r--Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c8
-rw-r--r--Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf2
2 files changed, 10 insertions, 0 deletions
diff --git a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
index 07068f9e0e..7a840d075d 100644
--- a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
@@ -3,6 +3,7 @@
by IBV/OEM.
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -116,6 +117,13 @@ PlatformBootManagerBeforeConsole (
EfiBootManagerUpdateConsoleVariable (ErrOut, gPlatformConsole[Index].DevicePath, NULL);
}
}
+
+ //
+ // From PI spec vol2:
+ // Prior to invoking any UEFI drivers, applications, or connecting consoles,
+ // the platform should signal the event EFI_END_OF_DXE_EVENT_GUID
+ //
+ EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);
}
/**
diff --git a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
index 91fbcc84bf..15e06596b0 100644
--- a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
+++ b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
@@ -2,6 +2,7 @@
# Include all platform action which can be customized by IBV/OEM.
#
# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
+# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -56,6 +57,7 @@
[Guids]
gEfiWinNtSystemConfigGuid
+ gEfiEndOfDxeEventGroupGuid
[Protocols]
gEfiGenericMemTestProtocolGuid ## CONSUMES