diff options
author | Christoffer Dall <cdall@cs.columbia.edu> | 2011-04-19 05:58:21 +0200 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2011-04-19 05:58:21 +0200 |
commit | 446e06a134c48a549746e56ec7965b1d8a473940 (patch) | |
tree | 1022fa3e0727c5956bbadedd37ce0f387c2c1236 | |
parent | 71049a0834ec48d4eb0f03efc34fbd2ae3d1a362 (diff) |
Init GIC priority mask field to 0x80 in secure mode
-rw-r--r-- | boot.S | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -48,6 +48,12 @@ _start: @ Hypervisor / TrustZone initialization @ 2: + @ Set GIC priority mask bit [7] = 1 + ldr r0, =0x2c002000 @ CPU GIC base + mov r1, #0x80 + str r1, [r0, #0x4] @ GIC ICCPMR + + @ Change to NS-mode mov r0, #0xf0000000 mcr p15, 0, r0, c12, c0, 1 @ Monitor vector base address mov r7, #0xffffffff |