From 9720cccecf3ec366030ebabdcfc3ff23ed7e47a7 Mon Sep 17 00:00:00 2001 From: Gao Qihang Date: Fri, 6 Jun 2025 11:06:21 +0800 Subject: [PATCH] UefiCpuPkg: Fix EFI_SUCCESS typos EFI_SUCESS -> EFI_SUCCESS Signed-off-by: Gao Qihang --- UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c | 4 ++-- UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c index f839d1a3fd..cf4aa7dfa5 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c @@ -260,14 +260,14 @@ SmmMpSetStartupProcedure ( via the use of a token, this function can be used to check for completion of the procedure on the AP. The function takes the token that was passed into the DispatchProcedure call. If the procedure is complete, and therefore it is now possible to run another procedure on the same AP, this function - returns EFI_SUCESS. In this case the status returned by the procedure that executed on the AP is + returns EFI_SUCCESS. In this case the status returned by the procedure that executed on the AP is returned in the token's Status field. If the procedure has not yet completed, then this function returns EFI_NOT_READY. When a non-blocking execution of a procedure is invoked with BroadcastProcedure, via the use of a token, this function can be used to check for completion of the procedure on all the broadcast APs. The function takes the token that was passed into the BroadcastProcedure - call. If the procedure is complete on all broadcast APs this function returns EFI_SUCESS. In this + call. If the procedure is complete on all broadcast APs this function returns EFI_SUCCESS. In this case the Status field in the token passed into the function reflects the overall result of the invocation, which may be EFI_SUCCESS, if all executions succeeded, or the first observed failure. If the procedure has not yet completed on the broadcast APs, the function returns diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h index e2dac6c7d4..e550c002cf 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h @@ -218,14 +218,14 @@ SmmMpSetStartupProcedure ( via the use of a token, this function can be used to check for completion of the procedure on the AP. The function takes the token that was passed into the DispatchProcedure call. If the procedure is complete, and therefore it is now possible to run another procedure on the same AP, this function - returns EFI_SUCESS. In this case the status returned by the procedure that executed on the AP is + returns EFI_SUCCESS. In this case the status returned by the procedure that executed on the AP is returned in the token's Status field. If the procedure has not yet completed, then this function returns EFI_NOT_READY. When a non-blocking execution of a procedure is invoked with BroadcastProcedure, via the use of a token, this function can be used to check for completion of the procedure on all the broadcast APs. The function takes the token that was passed into the BroadcastProcedure - call. If the procedure is complete on all broadcast APs this function returns EFI_SUCESS. In this + call. If the procedure is complete on all broadcast APs this function returns EFI_SUCCESS. In this case the Status field in the token passed into the function reflects the overall result of the invocation, which may be EFI_SUCCESS, if all executions succeeded, or the first observed failure. If the procedure has not yet completed on the broadcast APs, the function returns