Vlv2TbltDevicePkg:Signal EndOfDxe Event.
authorlushifex <shifeix.a.lu@intel.com>
Fri, 29 Jul 2016 09:31:52 +0000 (17:31 +0800)
committerdavid wei <david.wei@intel.com>
Sun, 31 Jul 2016 03:52:49 +0000 (11:52 +0800)
According to PI spec,EndOfDxe Event should be signaled
before DxeSmmReadyToLock protocol installation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
Vlv2TbltDevicePkg/Library/PlatformBdsLib/PlatformBdsLib.inf

index 195d734..82ad974 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2004  - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2004  - 2016, Intel Corporation. All rights reserved.<BR>\r
                                                                                    \r\r
   This program and the accompanying materials are licensed and made available under\r\r
   the terms and conditions of the BSD License that accompanies this distribution.  \r\r
@@ -226,6 +226,11 @@ PlatformBdsInit (
   EFI_STATUS  Status;\r
   EFI_EVENT   ShellImageEvent;\r
   EFI_GUID    ShellEnvProtocol = SHELL_ENVIRONMENT_INTERFACE_PROTOCOL;\r
+  \r
+  //\r
+  // Signal EndOfDxe PI Event\r
+  //\r
+  EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);\r
 \r
   #ifdef __GNUC__\r
   SerialPortWrite((UINT8 *)">>>>BdsEntry[GCC]\r\n", 19);\r
index 45578e8..c64bab9 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
 # Component name for module PlatformBootManagerLib\r
 #\r
-# Copyright (c) 2008  - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2008  - 2016, Intel Corporation. All rights reserved.<BR>\r
 #                                                                                  \r\r
 # This program and the accompanying materials are licensed and made available under\r\r
 # the terms and conditions of the BSD License that accompanies this distribution.  \r\r
@@ -97,6 +97,7 @@
   gEfiGlobalVariableGuid\r
   gEfiNormalSetupGuid\r
   gEfiPartTypeSystemPartGuid\r
+  gEfiEndOfDxeEventGroupGuid\r
 \r
 [Pcd]\r
   gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base\r