REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3931 Some drivers will break down when they use SmmWaitForAllProcessor() which from SmmCpuRendezvousLibNull.c. Removing the code "ASSERT(False)" will make consumer work normally if they keep default setting for sync mode. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Zhihao Li <zhihao.li@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
29 lines
683 B
C
29 lines
683 B
C
/** @file
|
|
SMM CPU Rendezvous sevice implement.
|
|
|
|
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#include <Library/DebugLib.h>
|
|
#include <Library/SmmCpuRendezvousLib.h>
|
|
|
|
/**
|
|
This routine wait for all AP processors to arrive in SMM.
|
|
|
|
@param[in] BlockingMode Blocking mode or non-blocking mode.
|
|
|
|
@retval EFI_SUCCESS All avaiable APs arrived.
|
|
@retval EFI_TIMEOUT Wait for all APs until timeout.
|
|
@retval OTHER Fail to register SMM CPU Rendezvous service Protocol.
|
|
**/
|
|
EFI_STATUS
|
|
EFIAPI
|
|
SmmWaitForAllProcessor (
|
|
IN BOOLEAN BlockingMode
|
|
)
|
|
{
|
|
return EFI_SUCCESS;
|
|
}
|