summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/Library
diff options
context:
space:
mode:
authorGuoMinJ <newexplorerj@gmail.com>2020-03-04 19:39:28 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-27 02:20:02 +0000
commit4ac82ea1e11ed037468b01655200a425504f2c86 (patch)
tree59dcda7909adb1dd7c0457181febdff6c6636d4b /UefiCpuPkg/Library
parent381f8ef6a176b41c350a7c50da403c30da70cde7 (diff)
downloadedk2-4ac82ea1e11ed037468b01655200a425504f2c86.tar.gz
edk2-4ac82ea1e11ed037468b01655200a425504f2c86.tar.bz2
edk2-4ac82ea1e11ed037468b01655200a425504f2c86.zip
UefiCpuPkg/MpInitLib: Add out attribute for parameter.
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>
Diffstat (limited to 'UefiCpuPkg/Library')
-rw-r--r--UefiCpuPkg/Library/MpInitLib/DxeMpLib.c2
-rwxr-xr-xUefiCpuPkg/Library/MpInitLib/MpLib.h2
-rw-r--r--UefiCpuPkg/Library/MpInitLib/PeiMpLib.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
index 56b776d3d8..8ccddf8e9f 100644
--- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
+++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
@@ -822,7 +822,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 0c89f8a6e7..74e919dae0 100755
--- a/UefiCpuPkg/Library/MpInitLib/MpLib.h
+++ b/UefiCpuPkg/Library/MpInitLib/MpLib.h
@@ -661,7 +661,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.