Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2005 20:52:23 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 71409 for review
Message-ID:  <200502202052.j1KKqNrS062796@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=71409

Change 71409 by jmg@jmg_carbon on 2005/02/20 20:51:25

	physmem isn't linearly mapped.. copy the mapping that NetBSD
	has for the TS-7200...
	
	Submitted by:	cognet
	Obtained from:	NetBSD

Affected files ...

.. //depot/projects/arm/src/sys/arm/ep93xx/ts7200_machdep.c#3 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/ep93xx/ts7200_machdep.c#3 (text+ko) ====

@@ -458,9 +458,15 @@
 	phys_avail[0] = SDRAM_START;
 	phys_avail[1] = freemempos;
 	phys_avail[0] = round_page(virtual_avail - KERNBASE + SDRAM_START);
-	phys_avail[1] = trunc_page(0x00000000 + memsize - 1);
-	phys_avail[2] = 0;
-	phys_avail[3] = 0;
+	phys_avail[1] = trunc_page(0x00800000 - 1);
+	phys_avail[2] = 0x01000000;
+	phys_avail[3] = trunc_page(0x01800000 - 1);
+	phys_avail[4] = 0x04000000;
+	phys_avail[5] = trunc_page(0x04800000 - 1);
+	phys_avail[6] = 0x05000000;
+	phys_avail[7] = trunc_page(0x05800000 - 1);
+	phys_avail[8] = 0;
+	phys_avail[9] = 0;
 	
 	/* Do basic tuning, hz etc */
 	init_param1();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502202052.j1KKqNrS062796>