]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/PiSmmCpuDxeSmm: Make code consistent with comments
authorshenglei <shenglei.zhang@intel.com>
Wed, 31 Jul 2019 03:38:12 +0000 (11:38 +0800)
committerEric Dong <eric.dong@intel.com>
Tue, 6 Aug 2019 03:28:41 +0000 (11:28 +0800)
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>
UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h

index ef16997547b84e1b36f99ca210c5f4534b73eb21..328d7ae53a492e851d426dce1970424b551a9d97 100644 (file)
@@ -1404,7 +1404,7 @@ InternalSmmStartupAllAPs (
 EFI_STATUS\r
 EFIAPI\r
 ProcedureWrapper (\r
-  IN OUT VOID *Buffer\r
+  IN     VOID *Buffer\r
   )\r
 {\r
   PROCEDURE_WRAPPER *Wrapper;\r
index 186809f43119e5d6af88e5732fbcc3a7ada8299d..a0e59f20886b1cedead0a203d9fe7fc73b4ab92d 100644 (file)
@@ -1329,7 +1329,7 @@ InternalSmmStartupThisAp (
   IN      EFI_AP_PROCEDURE2              Procedure,\r
   IN      UINTN                          CpuIndex,\r
   IN OUT  VOID                           *ProcArguments OPTIONAL,\r
-  IN      MM_COMPLETION                  *Token,\r
+  IN OUT  MM_COMPLETION                  *Token,\r
   IN      UINTN                          TimeoutInMicroseconds,\r
   IN OUT  EFI_STATUS                     *CpuStatus\r
   );\r
@@ -1387,7 +1387,7 @@ IsPresentAp (
   @param[in]     TimeoutInMicroseconds   Indicates the time limit in microseconds for\r
                                          APs to return from Procedure, either for\r
                                          blocking or non-blocking mode.\r
-  @param[in,out] ProcedureArgument       The parameter passed into Procedure for\r
+  @param[in,out] ProcedureArguments      The parameter passed into Procedure for\r
                                          all APs.\r
   @param[in,out] Token                   This is an optional parameter that allows the caller to execute the\r
                                          procedure in a blocking or non-blocking fashion. If it is NULL the\r