summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c
diff options
context:
space:
mode:
authordevel@edk2.groups.io <devel@edk2.groups.io>2024-01-23 03:36:49 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-01-23 21:43:08 +0000
commit7f72c2829fa29d2b4451c9a60e904df4c6a5df6c (patch)
treea56242dc909c85ec8323f9cd49d490bbfdc72a13 /MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c
parent417ebe6d1d6052b6cf023332da07558363d7fd08 (diff)
downloadedk2-7f72c2829fa29d2b4451c9a60e904df4c6a5df6c.tar.gz
edk2-7f72c2829fa29d2b4451c9a60e904df4c6a5df6c.tar.bz2
edk2-7f72c2829fa29d2b4451c9a60e904df4c6a5df6c.zip
MdePkg/Library/BaseCpuLibNull: Add StandardSignatureIsAuthenticAMD()
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>
Diffstat (limited to 'MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c')
-rw-r--r--MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c b/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c
index 3ba7a35096..3542cf6921 100644
--- a/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c
+++ b/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c
@@ -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;
+}