Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/rpi Map 1M beyond _end to make sure we boots...
details: https://anonhg.NetBSD.org/src/rev/2ace92f24226
branches: trunk
changeset: 781706:2ace92f24226
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Sep 23 15:56:32 2012 +0000
description:
Map 1M beyond _end to make sure we bootstrap.
diffstat:
sys/arch/evbarm/rpi/rpi_start.S | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 8a0dc005eede -r 2ace92f24226 sys/arch/evbarm/rpi/rpi_start.S
--- a/sys/arch/evbarm/rpi/rpi_start.S Sun Sep 23 14:40:29 2012 +0000
+++ b/sys/arch/evbarm/rpi/rpi_start.S Sun Sep 23 15:56:32 2012 +0000
@@ -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 @@
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 */
Home |
Main Index |
Thread Index |
Old Index