diff options
author | shenglei <shenglei.zhang@intel.com> | 2019-07-31 11:38:12 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2019-08-06 11:28:41 +0800 |
commit | 5ed4c46f1160b112948ce490a72a95d8eb1242ee (patch) | |
tree | 65c991ae986e6d1055de139ce6320e26f03e5d00 /UefiCpuPkg/PiSmmCpuDxeSmm | |
parent | 76e40d7be239893dbf9844515392779c3ab2fba0 (diff) | |
download | edk2-5ed4c46f1160b112948ce490a72a95d8eb1242ee.tar.gz edk2-5ed4c46f1160b112948ce490a72a95d8eb1242ee.tar.bz2 edk2-5ed4c46f1160b112948ce490a72a95d8eb1242ee.zip |
UefiCpuPkg/PiSmmCpuDxeSmm: Make code consistent with comments
1.Remove "out" attribute for " Buffer" parameter in function header.
2.Add "out" attribute for " Token" parameter in function header.
3.Update ProcedureArgument to ProcedureArguments.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm')
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 2 | ||||
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c b/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c index ef16997547..328d7ae53a 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c @@ -1404,7 +1404,7 @@ InternalSmmStartupAllAPs ( EFI_STATUS
EFIAPI
ProcedureWrapper (
- IN OUT VOID *Buffer
+ IN VOID *Buffer
)
{
PROCEDURE_WRAPPER *Wrapper;
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h index 186809f431..a0e59f2088 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h @@ -1329,7 +1329,7 @@ InternalSmmStartupThisAp ( IN EFI_AP_PROCEDURE2 Procedure,
IN UINTN CpuIndex,
IN OUT VOID *ProcArguments OPTIONAL,
- IN MM_COMPLETION *Token,
+ IN OUT MM_COMPLETION *Token,
IN UINTN TimeoutInMicroseconds,
IN OUT EFI_STATUS *CpuStatus
);
@@ -1387,7 +1387,7 @@ IsPresentAp ( @param[in] TimeoutInMicroseconds Indicates the time limit in microseconds for
APs to return from Procedure, either for
blocking or non-blocking mode.
- @param[in,out] ProcedureArgument The parameter passed into Procedure for
+ @param[in,out] ProcedureArguments The parameter passed into Procedure for
all APs.
@param[in,out] Token This is an optional parameter that allows the caller to execute the
procedure in a blocking or non-blocking fashion. If it is NULL the
|