]> git.proxmox.com Git - mirror_edk2.git/commitdiff
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 195d7341895b159fc3f1a7874ba64cb92ac5ecc6..82ad974dc2dfff1ebf0b349477952195e238d526 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
 /** @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
                                                                                    \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
   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
 \r
   #ifdef __GNUC__\r
   SerialPortWrite((UINT8 *)">>>>BdsEntry[GCC]\r\n", 19);\r
index 45578e8df4316653865dda920c9f539fe9392105..c64bab9d52ad57c491748c2bdeb6aba59c83edc2 100644 (file)
@@ -1,7 +1,7 @@
 #/** @file\r
 # Component name for module PlatformBootManagerLib\r
 #\r
 #/** @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
 #                                                                                  \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
   gEfiGlobalVariableGuid\r
   gEfiNormalSetupGuid\r
   gEfiPartTypeSystemPartGuid\r
+  gEfiEndOfDxeEventGroupGuid\r
 \r
 [Pcd]\r
   gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base\r
 \r
 [Pcd]\r
   gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base\r