mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ARM: Set UNAL_ENABLE bit in SCTLR CP15 register. This bit is RAO/SBOP
for ARMv7. For ARMv6, it controls ARMv5 compatible alignment support. This bit have no effect until unaligned access is enabled.
This commit is contained in:
parent
f196c10421
commit
a65bd3c84b
1 changed files with 2 additions and 2 deletions
|
|
@ -132,9 +132,9 @@ ASENTRY_NP(_start)
|
|||
bic r7, #CPU_CONTROL_DC_ENABLE
|
||||
bic r7, #CPU_CONTROL_MMU_ENABLE
|
||||
bic r7, #CPU_CONTROL_IC_ENABLE
|
||||
bic r7, #CPU_CONTROL_UNAL_ENABLE
|
||||
bic r7, #CPU_CONTROL_BPRD_ENABLE
|
||||
bic r7, #CPU_CONTROL_SW_ENABLE
|
||||
orr r7, #CPU_CONTROL_UNAL_ENABLE
|
||||
orr r7, #CPU_CONTROL_AFLT_ENABLE
|
||||
orr r7, #CPU_CONTROL_VECRELOC
|
||||
mcr CP15_SCTLR(r7)
|
||||
|
|
@ -456,9 +456,9 @@ ASENTRY_NP(mpentry)
|
|||
bic r0, #CPU_CONTROL_MMU_ENABLE
|
||||
bic r0, #CPU_CONTROL_DC_ENABLE
|
||||
bic r0, #CPU_CONTROL_IC_ENABLE
|
||||
bic r0, #CPU_CONTROL_UNAL_ENABLE
|
||||
bic r0, #CPU_CONTROL_BPRD_ENABLE
|
||||
bic r0, #CPU_CONTROL_SW_ENABLE
|
||||
orr r0, #CPU_CONTROL_UNAL_ENABLE
|
||||
orr r0, #CPU_CONTROL_AFLT_ENABLE
|
||||
orr r0, #CPU_CONTROL_VECRELOC
|
||||
mcr CP15_SCTLR(r0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue