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:
		@@ -1404,7 +1404,7 @@ InternalSmmStartupAllAPs (
 | 
				
			|||||||
EFI_STATUS
 | 
					EFI_STATUS
 | 
				
			||||||
EFIAPI
 | 
					EFIAPI
 | 
				
			||||||
ProcedureWrapper (
 | 
					ProcedureWrapper (
 | 
				
			||||||
  IN OUT VOID *Buffer
 | 
					  IN     VOID *Buffer
 | 
				
			||||||
  )
 | 
					  )
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  PROCEDURE_WRAPPER *Wrapper;
 | 
					  PROCEDURE_WRAPPER *Wrapper;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1329,7 +1329,7 @@ InternalSmmStartupThisAp (
 | 
				
			|||||||
  IN      EFI_AP_PROCEDURE2              Procedure,
 | 
					  IN      EFI_AP_PROCEDURE2              Procedure,
 | 
				
			||||||
  IN      UINTN                          CpuIndex,
 | 
					  IN      UINTN                          CpuIndex,
 | 
				
			||||||
  IN OUT  VOID                           *ProcArguments OPTIONAL,
 | 
					  IN OUT  VOID                           *ProcArguments OPTIONAL,
 | 
				
			||||||
  IN      MM_COMPLETION                  *Token,
 | 
					  IN OUT  MM_COMPLETION                  *Token,
 | 
				
			||||||
  IN      UINTN                          TimeoutInMicroseconds,
 | 
					  IN      UINTN                          TimeoutInMicroseconds,
 | 
				
			||||||
  IN OUT  EFI_STATUS                     *CpuStatus
 | 
					  IN OUT  EFI_STATUS                     *CpuStatus
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
@@ -1387,7 +1387,7 @@ IsPresentAp (
 | 
				
			|||||||
  @param[in]     TimeoutInMicroseconds   Indicates the time limit in microseconds for
 | 
					  @param[in]     TimeoutInMicroseconds   Indicates the time limit in microseconds for
 | 
				
			||||||
                                         APs to return from Procedure, either for
 | 
					                                         APs to return from Procedure, either for
 | 
				
			||||||
                                         blocking or non-blocking mode.
 | 
					                                         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.
 | 
					                                         all APs.
 | 
				
			||||||
  @param[in,out] Token                   This is an optional parameter that allows the caller to execute the
 | 
					  @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
 | 
					                                         procedure in a blocking or non-blocking fashion. If it is NULL the
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user