]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/MpInitLib: Add out attribute for parameter.
authorGuoMinJ <newexplorerj@gmail.com>
Wed, 4 Mar 2020 11:39:28 +0000 (19:39 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 27 Mar 2020 02:20:02 +0000 (02:20 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2553

The comment haven't indicate the output attribute.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
UefiCpuPkg/Library/MpInitLib/MpLib.h
UefiCpuPkg/Library/MpInitLib/PeiMpLib.c

index 56b776d3d81631b56e45d3b90f9412c5efae2ebb..8ccddf8e9f9c6d198fe9509e3e5903eb8464bcc6 100644 (file)
@@ -822,7 +822,7 @@ MpInitLibEnableDisableAP (
   This funtion will try to invoke platform specific microcode shadow logic to\r
   relocate microcode update patches into memory.\r
 \r
-  @param[in] CpuMpData  The pointer to CPU MP Data structure.\r
+  @param[in, out] CpuMpData  The pointer to CPU MP Data structure.\r
 \r
   @retval EFI_SUCCESS              Shadow microcode success.\r
   @retval EFI_OUT_OF_RESOURCES     No enough resource to complete the operation.\r
index 0c89f8a6e73273adb84023f2c0f4b9549bd1fb58..74e919dae07747ea8ca87d4926a862fd43b2f730 100755 (executable)
@@ -661,7 +661,7 @@ GetProcessorNumber (
   This funtion will try to invoke platform specific microcode shadow logic to\r
   relocate microcode update patches into memory.\r
 \r
-  @param[in] CpuMpData  The pointer to CPU MP Data structure.\r
+  @param[in, out] CpuMpData  The pointer to CPU MP Data structure.\r
 \r
   @retval EFI_SUCCESS              Shadow microcode success.\r
   @retval EFI_OUT_OF_RESOURCES     No enough resource to complete the operation.\r
index 17b60903c5a63e25c050f5188afded82a9bf0858..a548fed23fa7212f01f9f74554030b5bf992a79b 100644 (file)
@@ -644,7 +644,7 @@ MpInitLibEnableDisableAP (
   This funtion will try to invoke platform specific microcode shadow logic to\r
   relocate microcode update patches into memory.\r
 \r
-  @param[in] CpuMpData  The pointer to CPU MP Data structure.\r
+  @param[in, out] CpuMpData  The pointer to CPU MP Data structure.\r
 \r
   @retval EFI_SUCCESS              Shadow microcode success.\r
   @retval EFI_OUT_OF_RESOURCES     No enough resource to complete the operation.\r