EXPORT ArmEnableInterrupts
EXPORT ArmDisableInterrupts
EXPORT ArmGetInterruptState
+ EXPORT ArmEnableFiq
+ EXPORT ArmDisableFiq
+ EXPORT ArmGetFiqState
EXPORT ArmInvalidateTlb
EXPORT ArmSetTranslationTableBaseAddress
EXPORT ArmGetTranslationTableBaseAddress
EXPORT CPSRMaskInsert
EXPORT CPSRRead
EXPORT ReadCCSIDR
-
+ EXPORT ReadCLIDR
+
AREA ArmLibSupport, CODE, READONLY
Cp15IdCode
moveq R0,#1
movne R0,#0
bx LR
+
+ArmEnableFiq
+ CPSIE f
+ bx LR
+
+ArmDisableFiq
+ CPSID f
+ bx LR
+
+ArmGetFiqState
+ mrs R0,CPSR
+ tst R0,#0x40 ;Check if IRQ is enabled.
+ moveq R0,#1
+ movne R0,#0
+ bx LR
ArmInvalidateTlb
mov r0,#0