2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit in SCTLR_EL3. Add dsb.
This commit is contained in:
parent
76e4f83fc6
commit
0388ee3d90
@ -1,3 +1,8 @@
|
|||||||
|
2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||||
|
|
||||||
|
* aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit
|
||||||
|
in SCTLR_EL3. Add dsb.
|
||||||
|
|
||||||
2014-01-10 Jeff Johnston <jjohnstn@redhat.com>
|
2014-01-10 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* arm/configure.in: Revert previous fix and change host_makefile_frag
|
* arm/configure.in: Revert previous fix and change host_makefile_frag
|
||||||
|
@ -138,9 +138,12 @@ _flat_map:
|
|||||||
|
|
||||||
mrs x0, sctlr_el3
|
mrs x0, sctlr_el3
|
||||||
ldr x1, =0x100d /* bits I(12) SA(3) C(2) M(0) */
|
ldr x1, =0x100d /* bits I(12) SA(3) C(2) M(0) */
|
||||||
bic x0, x0, #2 /* clear bit A(1) */
|
bic x0, x0, #(1 << 1) /* clear bit A(1) */
|
||||||
|
mov x2, #(1 << 19) /* clear WXN */
|
||||||
|
bic x0, x0, x2
|
||||||
orr x0, x0, x1 /* set bits */
|
orr x0, x0, x1 /* set bits */
|
||||||
|
|
||||||
|
dsb sy
|
||||||
msr sctlr_el3, x0
|
msr sctlr_el3, x0
|
||||||
isb
|
isb
|
||||||
ret
|
ret
|
||||||
|
Loading…
Reference in New Issue
Block a user