From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F11491A1E4D for ; Mon, 3 Oct 2016 02:28:38 -0700 (PDT) Received: from SHIAC15.asiapacific.hpqcorp.net (unknown [16.169.129.227]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id BFA5F5F; Mon, 3 Oct 2016 09:28:36 +0000 (UTC) From: Cinnamon Shia To: edk2-devel@lists.01.org Cc: ruiyu.ni@intel.com, Cinnamon Shia Date: Mon, 3 Oct 2016 17:28:30 +0800 Message-Id: <20161003092830.5896-1-cinnamon.shia@hpe.com> X-Mailer: git-send-email 2.10.0.windows.1 Subject: [PATCH v2] Nt32Pkg/PlatformBootManagerLib: Signal the End of DXE Event X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 09:28:39 -0000 >>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 --- 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.
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP
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.
+# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# 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