ArmPkg: Fix various typos
Fix various typos in ArmPkg. Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
committed by
Leif Lindholm
parent
080981d72d
commit
ff5fef1428
@@ -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.
|
||||
|
Reference in New Issue
Block a user