Module Name: src Committed By: skrll Date: Sun Sep 23 15:56:32 UTC 2012
Modified Files: src/sys/arch/evbarm/rpi: rpi_start.S Log Message: Map 1M beyond _end to make sure we bootstrap. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/rpi/rpi_start.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/evbarm/rpi/rpi_start.S diff -u src/sys/arch/evbarm/rpi/rpi_start.S:1.6 src/sys/arch/evbarm/rpi/rpi_start.S:1.7 --- src/sys/arch/evbarm/rpi/rpi_start.S:1.6 Sun Sep 16 14:14:56 2012 +++ src/sys/arch/evbarm/rpi/rpi_start.S Sun Sep 23 15:56:32 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: rpi_start.S,v 1.6 2012/09/16 14:14:56 skrll Exp $ */ +/* $NetBSD: rpi_start.S,v 1.7 2012/09/23 15:56:32 skrll Exp $ */ /* * Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved. @@ -87,7 +87,7 @@ #include <arm/armreg.h> #include "assym.h" -RCSID("$NetBSD: rpi_start.S,v 1.6 2012/09/16 14:14:56 skrll Exp $") +RCSID("$NetBSD: rpi_start.S,v 1.7 2012/09/23 15:56:32 skrll Exp $") /* * Workaround Erratum 411920 @@ -308,11 +308,11 @@ Lctl_ID_dis: mmu_init_table: /* Add 1MB of VA==PA at 0x00000000 so we can keep the kernel going */ MMU_INIT(0x0, 0x0, - (_end - KERNEL_BASE + L1_S_SIZE - 1), + (_end - KERNEL_BASE + 2 * L1_S_SIZE - 1), L1_S_PROTO | L1_S_AP_KRW) MMU_INIT(KERNEL_BASE, 0x0, - (_end - KERNEL_BASE + L1_S_SIZE - 1), + (_end - KERNEL_BASE + 2 * L1_S_SIZE - 1), L1_S_PROTO | L1_S_AP_KRW | L1_S_B | L1_S_C) /* Map the 16MB of peripherals */