From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o0e4ixqV; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: newexplorerj@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id z65so340247pfz.8 for ; Wed, 04 Mar 2020 03:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=BsjJVPGW3kRHJFmlq8Xfa1chNXv84huIT83k5Mlqq9s=; b=o0e4ixqVH3oPqByDMAqBPdDbFrsVHjt91df3M2CuL7El2YK4B0+KVYRLdd3mfnKeKR vu0M0BwtZreIMbll7XfeJxXy6VFnh81+7qqlAiZvoIs4Px2rLySmcts/mzJaPbDfj+S1 aEVBkv9TsMoS+OUE2dWyWXvDr0O109/E54lQnHUbdulPERvES91oBnmJlO1f6PUT8Faq EGXDkCltcphb9v2/jwb6PyzMBKYJqdIPTcwIzp/skpYmO9e7NvcAQBFaSA1tHLZC8+DP RXQSMXCDRNj4ycXOirk1Z9SWW12TQFMqNMRi5+h347Gco740WcoMwKXkp/MIXroDjsro f4Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BsjJVPGW3kRHJFmlq8Xfa1chNXv84huIT83k5Mlqq9s=; b=I+4J45JhXzTxKRmhl+ZCnzSSDDU2iBvYYfYOnTzgRUnB4v/LXezNMvLocwoUnD9dwe qbyCip4OSu84yUvQCq+MLlwCJg1J2VQywH42f0ys+rRN4DbF96dIr/oG8fQlBiWBZidU YezmOw+gLbVNyxRPRLBKAJWV6KP+8K3bnguwxB9hPuwDyjmagOkVRCWvHq6nCECbYDKA jhlxFc4rGFRfRC4MIL2Q+lTIdkRNq5vMQOZXs2HQ/Lpvvn6H7lqpBLF9sH27kMfamz0q lriLPepGBEtdAsQH1gQOEleDUZjG71d7vrEIPS/MsOLj+b7Wm2901WyRDjEcN9Qg094R Y5tg== X-Gm-Message-State: ANhLgQ31SHB7mvYJSY5su2BrJmdLFxK4dgv8mRLroQiFM2JS/y39xxNR oaeNpbfVLHiGuENPNWLjnaeBRXgGfYSRBg== 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) Return-Path: 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: [PATCH v2] UefiCpuPkg/MpInitLib: ECC issue. Date: Wed, 4 Mar 2020 19:39:28 +0800 Message-Id: X-Mailer: git-send-email 2.17.1 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2553 The comment haven't indicate the output attribute. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: GuoMinJ --- 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/MpInitLib/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. - @param[in] CpuMpData The pointer to CPU MP Data structure. + @param[in, out] CpuMpData The pointer to CPU MP Data structure. @retval EFI_SUCCESS Shadow microcode success. @retval EFI_OUT_OF_RESOURCES No enough resource to complete the operation. diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.h b/UefiCpuPkg/Library/MpInitLib/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. - @param[in] CpuMpData The pointer to CPU MP Data structure. + @param[in, out] CpuMpData The pointer to CPU MP Data structure. @retval EFI_SUCCESS Shadow microcode success. @retval EFI_OUT_OF_RESOURCES No enough resource to complete the operation. diff --git a/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c b/UefiCpuPkg/Library/MpInitLib/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. - @param[in] CpuMpData The pointer to CPU MP Data structure. + @param[in, out] CpuMpData The pointer to CPU MP Data structure. @retval EFI_SUCCESS Shadow microcode success. @retval EFI_OUT_OF_RESOURCES No enough resource to complete the operation. -- 2.17.1