From 7f72c2829fa29d2b4451c9a60e904df4c6a5df6c Mon Sep 17 00:00:00 2001 From: "devel@edk2.groups.io" Date: Tue, 23 Jan 2024 03:36:49 -0800 Subject: 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 Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Qing Huang Reviewed-by: Michael D Kinney --- MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'MdePkg/Library') 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; +} -- cgit v1.2.3