diff options
author | Antoine Cœur <coeur@gmx.fr> | 2019-02-06 23:39:35 +0800 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2019-07-04 12:20:28 +0100 |
commit | ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420 (patch) | |
tree | e101e619122fa00859d5d776a026556ef7401e76 /ArmPkg/Library/ArmLib | |
parent | 080981d72dcbb782ad73716c439639324b0aa4dd (diff) | |
download | edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.zip edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.gz edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.bz2 |
ArmPkg: Fix various typos
Fix various typos in ArmPkg.
Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library/ArmLib')
-rw-r--r-- | ArmPkg/Library/ArmLib/AArch64/AArch64Support.S | 6 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S b/ArmPkg/Library/ArmLib/AArch64/AArch64Support.S index 310d4bb..199374f 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 c9aab63..0e8d21e 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
|