From nobody Thu May 9 00:15:15 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55398+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55398+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1583322042; cv=none; d=zohomail.com; s=zohoarc; b=hJBNYyMxfe21zmZXmrUJowAs09NbjvyInJN9oPcenM9FM3sBsjY4SuDJJO0bED7gkfEasg791oXL6hqa1wtnLhfGPMScRNZPy3ookPSOeGZtzqJSj6Hl6Sx8qu9TJc3oV++crP+xUpZzk63BLGQ3fsUo5W2+a9+Qr1WNituqKIM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583322042; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=/W/SocghZqS20J6GvkjLDC1heF+mdbvUHrZsFyrtU0Q=; b=D4yG0xBBHK6BVK2mspgIGQQpHpJ7U1KD2rjJF71CLEdbb3jSQiOTCSlv3SSi8MQRUr1h601uwq33+EWaKGaLCn1ZN+X0Hur/+sAnc7xGmGGMlvbV6yUccY0qLwr3yNUPACqvMbN4qx7jHBBpaDEZu9iX3oLI3Wn/oZOp+6YBjCY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55398+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 15833220420851002.2566310890703; Wed, 4 Mar 2020 03:40:42 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id bjEfYY1788612xZGeEmy0KEG; Wed, 04 Mar 2020 03:40:41 -0800 X-Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web12.9957.1583322041240989597 for ; Wed, 04 Mar 2020 03:40:41 -0800 X-Received: by mail-pf1-f176.google.com with SMTP id z65so340247pfz.8 for ; Wed, 04 Mar 2020 03:40:41 -0800 (PST) X-Gm-Message-State: fd3JI0oQUz3FKR68XQLRWp76x1787277AA= X-Google-Smtp-Source: ADFU+vv2PIRtXrfZDIviZBSJyu69001OTIcauRfWb4DUhHu1Bz7oposbn6TqtXpr272dXIVexP4tEw== X-Received: by 2002:a63:b515:: with SMTP id y21mr2280637pge.148.1583322040226; Wed, 04 Mar 2020 03:40:40 -0800 (PST) X-Received: from localhost.localdomain ([222.67.15.87]) by smtp.gmail.com with ESMTPSA id h22sm27902896pgn.57.2020.03.04.03.40.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 03:40:39 -0800 (PST) From: "GuoMinJ" To: devel@edk2.groups.io Cc: GuoMinJ , Eric Dong , Ray Ni , Laszlo Ersek Subject: [edk2-devel] [PATCH v2] UefiCpuPkg/MpInitLib: ECC issue. Date: Wed, 4 Mar 2020 19:39:28 +0800 Message-Id: Precedence: Bulk List-Unsubscribe: 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,newexplorerj@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583322041; bh=LI+LmHTDwT9HPi6mLzLjen5KPmUieVixOJXgNrBoLAA=; h=Cc:Date:From:Reply-To:Subject:To; b=wUxsGGvNOOiB+HY6MpwDDrSVRUcq/y++LrSZifVRzEW6K+bt40wsQWDDOTGiVtTy377 zMALfgnEKer/H4s7l4zd91X0ypJ03Ol7Ws9J1mSTcK0UGckOHNk+d0TdjnRz3SUCx/HwZ cbERWWATAu/lZ6b1SVr0bv05+ERLayEGW60= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2553 The comment haven't indicate the output attribute. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: GuoMinJ Reviewed-by: Eric Dong Reviewed-by: Laszlo Ersek --- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +- UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 +- UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/M= pInitLib/DxeMpLib.c index a987c32109..096d1c9b4b 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c @@ -821,7 +821,7 @@ MpInitLibEnableDisableAP ( This funtion will try to invoke platform specific microcode shadow logic= to relocate microcode update patches into memory. =20 - @param[in] CpuMpData The pointer to CPU MP Data structure. + @param[in, out] CpuMpData The pointer to CPU MP Data structure. =20 @retval EFI_SUCCESS Shadow microcode success. @retval EFI_OUT_OF_RESOURCES No enough resource to complete the oper= ation. diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.h b/UefiCpuPkg/Library/MpIn= itLib/MpLib.h index 455cb3f09a..06556197c3 100644 --- a/UefiCpuPkg/Library/MpInitLib/MpLib.h +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.h @@ -658,7 +658,7 @@ GetProcessorNumber ( This funtion will try to invoke platform specific microcode shadow logic= to relocate microcode update patches into memory. =20 - @param[in] CpuMpData The pointer to CPU MP Data structure. + @param[in, out] CpuMpData The pointer to CPU MP Data structure. =20 @retval EFI_SUCCESS Shadow microcode success. @retval EFI_OUT_OF_RESOURCES No enough resource to complete the oper= ation. diff --git a/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c b/UefiCpuPkg/Library/M= pInitLib/PeiMpLib.c index 17b60903c5..a548fed23f 100644 --- a/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c @@ -644,7 +644,7 @@ MpInitLibEnableDisableAP ( This funtion will try to invoke platform specific microcode shadow logic= to relocate microcode update patches into memory. =20 - @param[in] CpuMpData The pointer to CPU MP Data structure. + @param[in, out] CpuMpData The pointer to CPU MP Data structure. =20 @retval EFI_SUCCESS Shadow microcode success. @retval EFI_OUT_OF_RESOURCES No enough resource to complete the oper= ation. --=20 2.17.1 -=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 (#55398): https://edk2.groups.io/g/devel/message/55398 Mute This Topic: https://groups.io/mt/71724102/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-