diff options
-rw-r--r-- | sys/arch/armv7/armv7/locore0.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/armv7/armv7/locore0.S b/sys/arch/armv7/armv7/locore0.S index b90d94e9812..b683e00027f 100644 --- a/sys/arch/armv7/armv7/locore0.S +++ b/sys/arch/armv7/armv7/locore0.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore0.S,v 1.2 2017/07/23 10:11:27 kettenis Exp $ */ +/* $OpenBSD: locore0.S,v 1.3 2017/07/25 19:37:27 kettenis Exp $ */ /* $NetBSD: lubbock_start.S,v 1.1 2003/06/18 10:51:15 bsh Exp $ */ /* @@ -139,6 +139,11 @@ _C_LABEL(bootstrap_start): cmp r1, #0 bne 3b + /* Set ASID to zero */ + mov r1, #0 + mcr CP15_CONTEXTIDR(r1) + isb + mcr CP15_TTBR0(r0) /* Set TTB */ mcr CP15_TLBIALL(r0) /* Flush TLB */ |