diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2013-04-30 13:23:53 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2013-04-30 13:23:53 +0000 |
commit | 6a95ee8a0202e60dc2a57b242030a0834df1c37a (patch) | |
tree | 97fa296162c74cb071c73c5f83f4174bbc9a1863 /sys/arch/beagle | |
parent | bf5b68941c03824d764ff30b39dcd8a50037d4f4 (diff) |
Use ARMv7 access permission bits.
ok bmercer@
Diffstat (limited to 'sys/arch/beagle')
-rw-r--r-- | sys/arch/beagle/beagle/beagle_start.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/beagle/beagle/beagle_start.S b/sys/arch/beagle/beagle/beagle_start.S index 7286e452460..6869526a7f7 100644 --- a/sys/arch/beagle/beagle/beagle_start.S +++ b/sys/arch/beagle/beagle/beagle_start.S @@ -1,4 +1,4 @@ -/* $OpenBSD: beagle_start.S,v 1.3 2011/10/21 22:55:01 drahn Exp $ */ +/* $OpenBSD: beagle_start.S,v 1.4 2013/04/30 13:23:52 patrick Exp $ */ /* $NetBSD: lubbock_start.S,v 1.1 2003/06/18 10:51:15 bsh Exp $ */ /* @@ -176,12 +176,12 @@ Lstart: Lstartup_pagetable: .word STARTUP_PAGETABLE_ADDR mmu_init_table: /* fill all table VA==PA */ - MMU_INIT(0x00000000, 0x00000000, 1<<(32-L1_S_SHIFT), L1_TYPE_S|L1_S_AP(AP_KRW)) + MMU_INIT(0x00000000, 0x00000000, 1<<(32-L1_S_SHIFT), L1_TYPE_S|L1_S_V7_AP(AP_KRW)) /* map SDRAM VA==PA, WT cacheable */ - MMU_INIT(SDRAM_START, SDRAM_START, 64, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW)) + MMU_INIT(SDRAM_START, SDRAM_START, 64, L1_TYPE_S|L1_S_C|L1_S_V7_AP(AP_KRW)) #endif mmu_init_table2: /* map VA 0xc0000000..0xc3ffffff to PA 0xa0000000..0xa3ffffff */ - MMU_INIT(0xc0000000, SDRAM_START, 64, L1_TYPE_S|L1_S_C|L1_S_AP(AP_KRW)) + MMU_INIT(0xc0000000, SDRAM_START, 64, L1_TYPE_S|L1_S_C|L1_S_V7_AP(AP_KRW)) .word 0 /* end of table */ |