MdePkg/BaseLib: fix comments in ARM* SetJump/LongJump implementations

Drop redundant comment about IPF (clearly copied across from now deleted
code).

Also change
"Instead is resumes execution" ->
"Instead it resumes execution"

Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Leif Lindholm 2020-10-01 19:37:08 +01:00 committed by mergify[bot]
parent f6a314e5b5
commit cbf0e4f5b3
4 changed files with 4 additions and 8 deletions

View File

@ -33,7 +33,6 @@ GCC_ASM_EXPORT(InternalLongJump)
# value to be returned by SetJump(). # value to be returned by SetJump().
# #
# If JumpBuffer is NULL, then ASSERT(). # If JumpBuffer is NULL, then ASSERT().
# For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
# #
# @param JumpBuffer A pointer to CPU context buffer. # @param JumpBuffer A pointer to CPU context buffer.
# #
@ -62,7 +61,7 @@ ASM_PFX(SetJump):
# #
# Restores the CPU context from the buffer specified by JumpBuffer. # Restores the CPU context from the buffer specified by JumpBuffer.
# This function never returns to the caller. # This function never returns to the caller.
# Instead is resumes execution based on the state of JumpBuffer. # Instead it resumes execution based on the state of JumpBuffer.
# #
# @param JumpBuffer A pointer to CPU context buffer. # @param JumpBuffer A pointer to CPU context buffer.
# @param Value The value to return when the SetJump() context is restored. # @param Value The value to return when the SetJump() context is restored.

View File

@ -32,7 +32,6 @@
; value to be returned by SetJump(). ; value to be returned by SetJump().
; ;
; If JumpBuffer is NULL, then ASSERT(). ; If JumpBuffer is NULL, then ASSERT().
; For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
; ;
; @param JumpBuffer A pointer to CPU context buffer. ; @param JumpBuffer A pointer to CPU context buffer.
; ;
@ -60,7 +59,7 @@ SetJump
; ;
; Restores the CPU context from the buffer specified by JumpBuffer. ; Restores the CPU context from the buffer specified by JumpBuffer.
; This function never returns to the caller. ; This function never returns to the caller.
; Instead is resumes execution based on the state of JumpBuffer. ; Instead it resumes execution based on the state of JumpBuffer.
; ;
; @param JumpBuffer A pointer to CPU context buffer. ; @param JumpBuffer A pointer to CPU context buffer.
; @param Value The value to return when the SetJump() context is restored. ; @param Value The value to return when the SetJump() context is restored.

View File

@ -19,7 +19,6 @@ GCC_ASM_EXPORT(InternalLongJump)
# value to be returned by SetJump(). # value to be returned by SetJump().
# #
# If JumpBuffer is NULL, then ASSERT(). # If JumpBuffer is NULL, then ASSERT().
# For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
# #
# @param JumpBuffer A pointer to CPU context buffer. # @param JumpBuffer A pointer to CPU context buffer.
# #
@ -42,7 +41,7 @@ ASM_PFX(SetJump):
# #
# Restores the CPU context from the buffer specified by JumpBuffer. # Restores the CPU context from the buffer specified by JumpBuffer.
# This function never returns to the caller. # This function never returns to the caller.
# Instead is resumes execution based on the state of JumpBuffer. # Instead it resumes execution based on the state of JumpBuffer.
# #
# @param JumpBuffer A pointer to CPU context buffer. # @param JumpBuffer A pointer to CPU context buffer.
# @param Value The value to return when the SetJump() context is restored. # @param Value The value to return when the SetJump() context is restored.

View File

@ -19,7 +19,6 @@
; value to be returned by SetJump(). ; value to be returned by SetJump().
; ;
; If JumpBuffer is NULL, then ASSERT(). ; If JumpBuffer is NULL, then ASSERT().
; For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
; ;
; @param JumpBuffer A pointer to CPU context buffer. ; @param JumpBuffer A pointer to CPU context buffer.
; ;
@ -42,7 +41,7 @@ SetJump
; ;
; Restores the CPU context from the buffer specified by JumpBuffer. ; Restores the CPU context from the buffer specified by JumpBuffer.
; This function never returns to the caller. ; This function never returns to the caller.
; Instead is resumes execution based on the state of JumpBuffer. ; Instead it resumes execution based on the state of JumpBuffer.
; ;
; @param JumpBuffer A pointer to CPU context buffer. ; @param JumpBuffer A pointer to CPU context buffer.
; @param Value The value to return when the SetJump() context is restored. ; @param Value The value to return when the SetJump() context is restored.