From nobody Sun May 12 06:20:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+114194+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+114194+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1706009841; cv=none; d=zohomail.com; s=zohoarc; b=n8xgWowwFYDiVtTEP+Y3AVkYM/CIuJHQ9zeHGJNifLWfQR5jIWD13WOulJ39wlgqsUaaBUIjz2uwTH3NoSmRI+A23xb948Ez9Dsfqt5tAy9plPK3bxBwoKJLB3lm16LDFEoIfFRGH0Hb8isoB9yCH/ZhFOGaJvxZKmLUDq+4VrQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706009841; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=L5LHnOVYKf+/LyLimo9WnnbF9+FP9dzwI5clxgnfSjE=; b=mV7ZKGjlt0gZsDcEq+zVI8yf/q1juPtr6C11+PjYqPGEbSuqMDFIqm2LA475ZIN4Y+Wtxv666j6PdFYnVHasHjzo7Sep7SfVbWx4f7q27KxLEIlm3OjSu/lO2ocTCUmr9099ZmlcP2l0Gzqdw8drK9AR4EvVASgW40rv65FdnnQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+114194+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1706009840917781.8139718890927; Tue, 23 Jan 2024 03:37:20 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=Aq1KYOvhLqs7yJngnBueAuRs8SR66Sdb6tnO65Th9t0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1706009840; v=1; b=Rj9AW/TjDtn85dDjIXKdjzw8KPPr0TnT2EYKEgHjvhd+FsSpBXVdk5bd5ecbgxW3f+x/+7sv g6/qkaXjWbynF9z4yDEMmwXm5ajepbv90UcqPGresHZcNggMQaQ2iOCZk4KVpsgqFKovDxO7qAr SjFAsxdM9Xb5LjrENHoweeYM= X-Received: by 127.0.0.2 with SMTP id WxeCYY1788612xVpzBPjISW3; Tue, 23 Jan 2024 03:37:20 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mx.groups.io with SMTP id smtpd.web11.10127.1706009839830423714 for ; Tue, 23 Jan 2024 03:37:19 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10961"; a="1345594" X-IronPort-AV: E=Sophos;i="6.05,214,1701158400"; d="scan'208";a="1345594" X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2024 03:37:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10961"; a="786040856" X-IronPort-AV: E=Sophos;i="6.05,214,1701158400"; d="scan'208";a="786040856" X-Received: from shwdecpdbios081.ccr.corp.intel.com ([10.239.158.50]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2024 03:37:17 -0800 From: "Huang, Qing" To: devel@edk2.groups.io Cc: Qing Huang Subject: [edk2-devel] [PATCH v1] MdePkg/BaseCpuLibNull: Add stub function of StandardSignatureIsAuthenticAMD() in CpuLibNull instance Date: Tue, 23 Jan 2024 19:36:49 +0800 Message-ID: <20240123113649.712-1-qing.huang@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,qing.huang@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 4vrym2LlpVblmHAZeRKbPkOPx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1706009842963100003 Content-Type: text/plain; charset="utf-8" CpuLib.h exposes StandardSignatureIsAuthenticAMD() API and we require stub = function in its BaseCpuLibNull library instance to avoid potential link issue. Signed-off-by: Qing Huang Reviewed-by: Michael D Kinney --- MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c b/MdePkg/Librar= y/BaseCpuLibNull/BaseCpuLibNull.c index 3ba7a35096..ba7981551d 100644 --- a/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c +++ b/MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c @@ -1,7 +1,7 @@ /** @file Null instance of CPU Library. =20 - Copyright (c) 2020, Intel Corporation. All rights reserved.
+ Copyright (c) 2020 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -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; +} --=20 2.42.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114194): https://edk2.groups.io/g/devel/message/114194 Mute This Topic: https://groups.io/mt/103907626/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-