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>
- 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
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
#/** @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
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