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>
This commit is contained in:
shenglei 2019-07-31 11:38:12 +08:00 committed by Eric Dong
parent 76e40d7be2
commit 5ed4c46f11
2 changed files with 3 additions and 3 deletions

View File

@ -1404,7 +1404,7 @@ InternalSmmStartupAllAPs (
EFI_STATUS
EFIAPI
ProcedureWrapper (
IN OUT VOID *Buffer
IN VOID *Buffer
)
{
PROCEDURE_WRAPPER *Wrapper;

View File

@ -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