mirror of https://github.com/acidanthera/audk.git
OvmfPkg/SmmCpuPlatformHookLibQemu: Define IsCpuSyncAlwaysNeeded
This patch is to implement default IsCpuSyncAlwaysNeeded definition for SmmCpuPlatformHookLibQemu. This interface will determine whether the first CPU Synchronization should be executed unconditionally when a SMI occurs. If the function returns true, it indicates that there is no need to check the system configuration and status, and the first CPU Synchronization should be executed unconditionally. If the function returns false, it indicates that the first CPU Synchronization is not executed unconditionally, and the decision to synchronize should be based on the system configuration and status. Signed-off-by: Khor Swee Aun <swee.aun.khor@intel.com>
This commit is contained in:
parent
a8363bce36
commit
c0533b7e22
|
@ -131,3 +131,26 @@ SmmCpuPlatformHookBeforeMmiHandler (
|
||||||
{
|
{
|
||||||
return EFI_UNSUPPORTED;
|
return EFI_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
This function determines whether the first CPU Synchronization should be executed unconditionally
|
||||||
|
when a SMI occurs.
|
||||||
|
|
||||||
|
If the function returns true, it indicates that there is no need to check the system configuration
|
||||||
|
and status, and the first CPU Synchronization should be executed unconditionally.
|
||||||
|
|
||||||
|
If the function returns false, it indicates that the first CPU Synchronization is not executed
|
||||||
|
unconditionally, and the decision to synchronize should be based on the system configuration and status.
|
||||||
|
|
||||||
|
@retval TRUE The first CPU Synchronization is executed unconditionally.
|
||||||
|
@retval FALSE The first CPU Synchronization is not executed unconditionally.
|
||||||
|
|
||||||
|
**/
|
||||||
|
BOOLEAN
|
||||||
|
EFIAPI
|
||||||
|
IsCpuSyncAlwaysNeeded (
|
||||||
|
VOID
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue