Skip to content

Commit

Permalink
MdePkg/Library/BaseCpuLibNull: Add StandardSignatureIsAuthenticAMD()
Browse files Browse the repository at this point in the history
CpuLib.h exposes StandardSignatureIsAuthenticAMD() API and we require
stub function in its BaseCpuLibNull library instance to avoid potential
link issue.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Qing Huang <qing.huang@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
  • Loading branch information
devel@edk2.groups.io authored and mergify[bot] committed Jan 23, 2024
1 parent 417ebe6 commit 7f72c28
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,18 @@ CpuFlushTlb (
)
{
}

/**
Determine if the standard CPU signature is "AuthenticAMD".
@retval TRUE The CPU signature matches.
@retval FALSE The CPU signature does not match.
**/
BOOLEAN
EFIAPI
StandardSignatureIsAuthenticAMD (
VOID
)
{
return FALSE;
}

0 comments on commit 7f72c28

Please sign in to comment.