From ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20C=C5=93ur?= Date: Wed, 6 Feb 2019 23:39:35 +0800 Subject: ArmPkg: Fix various typos Fix various typos in ArmPkg. Signed-off-by: Coeur Reviewed-by: Leif Lindholm --- ArmPkg/Library/ArmLib/AArch64/AArch64Support.S | 6 +++--- ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ArmPkg/Library/ArmLib/AArch64') diff --git a/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S b/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S index 310d4bb48a..199374ff59 100644 --- a/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S +++ b/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S @@ -430,13 +430,13 @@ ASM_FUNC(ArmReadMpidr) ret -// Keep old function names for C compatibilty for now. Change later? +// Keep old function names for C compatibility for now. Change later? ASM_FUNC(ArmReadTpidrurw) mrs x0, tpidr_el0 // read tpidr_el0 (v7 TPIDRURW) -> (v8 TPIDR_EL0) ret -// Keep old function names for C compatibilty for now. Change later? +// Keep old function names for C compatibility for now. Change later? ASM_FUNC(ArmWriteTpidrurw) msr tpidr_el0, x0 // write tpidr_el0 (v7 TPIDRURW) -> (v8 TPIDR_EL0) ret @@ -453,7 +453,7 @@ ASM_FUNC(ArmReadIdPfr0) ret -// Q: id_aa64pfr1_el1 not defined yet. What does this funtion want to access? +// Q: id_aa64pfr1_el1 not defined yet. What does this function want to access? // A: used to setup arch timer. Check if we have security extensions, permissions to set stuff. // See: ArmPkg/Library/ArmArchTimerLib/AArch64/ArmArchTimerLib.c // Not defined yet, but stick in here for now, should read all zeros. diff --git a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S index c9aab63f36..0e8d21e226 100644 --- a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S +++ b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S @@ -23,7 +23,7 @@ ASM_FUNC(ArmIsMpCore) - mrs x0, mpidr_el1 // Read EL1 Mutliprocessor Affinty Reg (MPIDR) + mrs x0, mpidr_el1 // Read EL1 Multiprocessor Affinty Reg (MPIDR) and x0, x0, #MPIDR_U_MASK // U Bit clear, the processor is part of a multiprocessor system lsr x0, x0, #MPIDR_U_BIT eor x0, x0, #1 -- cgit v1.2.3