- differnt -> different
- Libary -> Library
- intialized -> initialized
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ldr R5, [SP, #0x58] @ PC is the LR pushed by srsfd\r
@ Check to see if we have to adjust for Thumb entry\r
sub r4, r0, #1 @ if (ExceptionType == 1 || ExceptionType ==2)) {\r
ldr R5, [SP, #0x58] @ PC is the LR pushed by srsfd\r
@ Check to see if we have to adjust for Thumb entry\r
sub r4, r0, #1 @ if (ExceptionType == 1 || ExceptionType ==2)) {\r
- cmp r4, #1 @ // UND & SVC have differnt LR adjust for Thumb\r
+ cmp r4, #1 @ // UND & SVC have different LR adjust for Thumb\r
bhi NoAdjustNeeded\r
\r
tst r1, #0x20 @ if ((CPSR & T)) == T) { // Thumb Mode on entry\r
bhi NoAdjustNeeded\r
\r
tst r1, #0x20 @ if ((CPSR & T)) == T) { // Thumb Mode on entry\r
ldr R5, [SP, #0x58] ; PC is the LR pushed by srsfd\r
; Check to see if we have to adjust for Thumb entry\r
sub r4, r0, #1 ; if (ExceptionType == 1 || ExceptionType ==2)) {\r
ldr R5, [SP, #0x58] ; PC is the LR pushed by srsfd\r
; Check to see if we have to adjust for Thumb entry\r
sub r4, r0, #1 ; if (ExceptionType == 1 || ExceptionType ==2)) {\r
- cmp r4, #1 ; // UND & SVC have differnt LR adjust for Thumb\r
+ cmp r4, #1 ; // UND & SVC have different LR adjust for Thumb\r
bhi NoAdjustNeeded\r
\r
tst r1, #0x20 ; if ((CPSR & T)) == T) { // Thumb Mode on entry\r
bhi NoAdjustNeeded\r
\r
tst r1, #0x20 ; if ((CPSR & T)) == T) { // Thumb Mode on entry\r
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is\r
responsible to invoke the passing-in function at the end of InitializeDebugAgent().\r
\r
function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is\r
responsible to invoke the passing-in function at the end of InitializeDebugAgent().\r
\r
- If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by\r
+ If the parameter Function is not NULL, Debug Agent Library instance will invoke it by\r
passing in the Context to be its parameter.\r
\r
If Function() is NULL, Debug Agent Library instance will return after setup debug\r
passing in the Context to be its parameter.\r
\r
If Function() is NULL, Debug Agent Library instance will return after setup debug\r
ASSERT (((UINTN)DebugAgentVectorTable & ARM_VECTOR_TABLE_ALIGNMENT) == 0);\r
ArmWriteVBar ((UINTN)DebugAgentVectorTable);\r
\r
ASSERT (((UINTN)DebugAgentVectorTable & ARM_VECTOR_TABLE_ALIGNMENT) == 0);\r
ArmWriteVBar ((UINTN)DebugAgentVectorTable);\r
\r
- // We use InitFlag to know if DebugAgent has been intialized from\r
+ // We use InitFlag to know if DebugAgent has been initialized from\r
// Sec (DEBUG_AGENT_INIT_PREMEM_SEC) or PrePi (DEBUG_AGENT_INIT_POSTMEM_SEC)\r
// modules\r
if (InitFlag == DEBUG_AGENT_INIT_PREMEM_SEC) {\r
// Sec (DEBUG_AGENT_INIT_PREMEM_SEC) or PrePi (DEBUG_AGENT_INIT_POSTMEM_SEC)\r
// modules\r
if (InitFlag == DEBUG_AGENT_INIT_PREMEM_SEC) {\r