summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fe81334)
Use EfiEventGroupSignal from UefiLib and remove
InternalBdsEmptyCallbackFuntion.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=298
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
This file include all platform action which can be customized\r
by IBV/OEM.\r
\r
This file include all platform action which can be customized\r
by IBV/OEM.\r
\r
-Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#include "PlatformBootManager.h"\r
#include "PlatformConsole.h"\r
\r
#include "PlatformBootManager.h"\r
#include "PlatformConsole.h"\r
\r
-VOID\r
-EFIAPI\r
-InternalBdsEmptyCallbackFuntion (\r
- IN EFI_EVENT Event,\r
- IN VOID *Context\r
- )\r
-{\r
- return;\r
-}\r
-\r
VOID\r
InstallReadyToLock (\r
VOID\r
VOID\r
InstallReadyToLock (\r
VOID\r
EFI_STATUS Status;\r
EFI_HANDLE Handle;\r
EFI_SMM_ACCESS2_PROTOCOL *SmmAccess;\r
EFI_STATUS Status;\r
EFI_HANDLE Handle;\r
EFI_SMM_ACCESS2_PROTOCOL *SmmAccess;\r
- EFI_EVENT EndOfDxeEvent;\r
\r
DEBUG((DEBUG_INFO,"InstallReadyToLock entering......\n"));\r
//\r
// Inform the SMM infrastructure that we're entering BDS and may run 3rd party code hereafter\r
// Since PI1.2.1, we need signal EndOfDxe as ExitPmAuth\r
//\r
\r
DEBUG((DEBUG_INFO,"InstallReadyToLock entering......\n"));\r
//\r
// Inform the SMM infrastructure that we're entering BDS and may run 3rd party code hereafter\r
// Since PI1.2.1, we need signal EndOfDxe as ExitPmAuth\r
//\r
- Status = gBS->CreateEventEx (\r
- EVT_NOTIFY_SIGNAL,\r
- TPL_CALLBACK,\r
- InternalBdsEmptyCallbackFuntion,\r
- NULL,\r
- &gEfiEndOfDxeEventGroupGuid,\r
- &EndOfDxeEvent\r
- );\r
- ASSERT_EFI_ERROR (Status);\r
- gBS->SignalEvent (EndOfDxeEvent);\r
- gBS->CloseEvent (EndOfDxeEvent);\r
+ EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);\r
DEBUG((DEBUG_INFO,"All EndOfDxe callbacks have returned successfully\n"));\r
\r
//\r
DEBUG((DEBUG_INFO,"All EndOfDxe callbacks have returned successfully\n"));\r
\r
//\r