PERFORCE change 71409 for review
John-Mark Gurney
jmg at FreeBSD.org
Sun Feb 20 12:52:24 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=71409
Change 71409 by jmg at 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();
More information about the p4-projects
mailing list