public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2] Nt32Pkg/PlatformBootManagerLib: Signal the End of DXE Event
@ 2016-10-03  9:28 Cinnamon Shia
  2016-10-03 14:21 ` Ni, Ruiyu
  0 siblings, 1 reply; 2+ messages in thread
From: Cinnamon Shia @ 2016-10-03  9:28 UTC (permalink / raw)
  To: edk2-devel; +Cc: ruiyu.ni, Cinnamon Shia

>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>
---
 Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c      | 8 ++++++++
 Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
index 07068f9..7a840d0 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 91fbcc8..15e0659 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
-- 
2.10.0.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-03 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-03  9:28 [PATCH v2] Nt32Pkg/PlatformBootManagerLib: Signal the End of DXE Event Cinnamon Shia
2016-10-03 14:21 ` Ni, Ruiyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox