Skip to content

Commit

Permalink
OvmfPkg/SmmCpuPlatformHookLibQemu: Define IsLmceStatusCheckNeeded
Browse files Browse the repository at this point in the history
This patch is to implement IsLmceStatusCheckNeeded definition for
SmmCpuPlatformHookLibQemu.

By default, it returns TRUE, indicating that the LMCE status check
should be performed.

Signed-off-by: Khor Swee Aun <[email protected]>
  • Loading branch information
sweeaun committed Dec 19, 2024
1 parent f025169 commit d777413
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,24 @@ SmmCpuPlatformHookBeforeMmiHandler (
{
return EFI_UNSUPPORTED;
}

/**
Determines if the LMCE status check is needed.
This function checks whether the LMCE status check is required.
By default, it returns TRUE, indicating that the LMCE status check
should be performed. However, if the check should be skipped for
any reason, it can return FALSE.
@retval TRUE LMCE status check is needed.
@retval FALSE LMCE status check is skipped.
**/
BOOLEAN
EFIAPI
IsLmceStatusCheckNeeded (
VOID
)
{
return TRUE;
}

0 comments on commit d777413

Please sign in to comment.