Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/integrator Map the low 4M of memory at 0xc00...
details: https://anonhg.NetBSD.org/src/rev/ce20f6db703a
branches: trunk
changeset: 533732:ce20f6db703a
user: rearnsha <rearnsha%NetBSD.org@localhost>
date: Mon Jul 08 16:17:42 2002 +0000
description:
Map the low 4M of memory at 0xc0000000.
diffstat:
sys/arch/evbarm/integrator/intmmu.S | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r 2adf8cfc1730 -r ce20f6db703a sys/arch/evbarm/integrator/intmmu.S
--- a/sys/arch/evbarm/integrator/intmmu.S Mon Jul 08 16:15:44 2002 +0000
+++ b/sys/arch/evbarm/integrator/intmmu.S Mon Jul 08 16:17:42 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intmmu.S,v 1.4 2002/04/05 16:58:08 thorpej Exp $ */
+/* $NetBSD: intmmu.S,v 1.5 2002/07/08 16:17:42 rearnsha Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@@ -34,7 +34,7 @@
#include <arm/armreg.h>
#include <arm/arm32/pte.h>
- .text
+ .section .start,"ax",%progbits
ASENTRY_NP(integrator_start)
mov r6, #0x16000000 /* UART0 Physical base*/
@@ -64,16 +64,16 @@
bgt Lflat
/*
- * Map VA 0xc0100000->0xc03fffff to PA 0x00000000->0x002fffff
+ * Map VA 0xc0000000->0xc03fffff to PA 0x00000000->0x003fffff
*/
mov r3, #(L1_S_AP(AP_KRW))
add r3, r3, #(L1_TYPE_S)
mov r1, #0x8000 /* page table start */
add r1, r1, #(0xc00 * 4) /* offset to 0xc00xxxxx */
- add r1, r1, #(0x001 * 4) /* offset to 0xc01xxxxx */
- mov r0, #47
+# add r1, r1, #(0x001 * 4) /* offset to 0xc01xxxxx */
+ mov r0, #63
Lkern:
- str r3, [r1], #0x0004 /* 0xa010000-0xa03fffff */
+ str r3, [r1], #0x0004 /* 0xc000000-0xc03fffff */
add r3, r3, r2
subs r0, r0, #1
bgt Lkern
Home |
Main Index |
Thread Index |
Old Index