NetBSD/sys/arch/pmax
jonathan 8445253ad3 Fix 4.4bsd/pmax memory-sizing bug:
physical memory is sized by a loop that writes data to the first
word in a page, (writes something else to settle the bus) and then reads
back the word it wrote. If the read succeeds, the amount of physical
memory is increased by one page.

This fails on a 5000/1xx with a memory subsystem filled with 8 low-density
(4Mbyte) SIMMs. The memory-decoding hardware  aliases the 32Mbytes of
physical memory  at physical addresses 0, and at 32M (and presumably
at 64 and 96Mbytes.)  The contiguous aliasing causes the memory-sizing
loop to continue  at 32 MBytes, testing the memory that's really
at address 0,  overwriting and crashing the kernel.

Fixed (for 1.2) by reading the SIMM-decoder stride size from the
motherboard, and reducing the loop bound to 32Mbytes on a 5000/1xx
with low-density SIMMs.  (Other models have a non-power-of-2 maximum
memory and so are not subject to _contigous_ aliasing of physical memory).
1996-06-25 05:47:31 +00:00
..
compile new RCS ID format. 1994-10-26 21:08:38 +00:00
conf Use the MI LANCE drivers - the pmax-specific one no longer compiles. 1996-05-29 06:05:05 +00:00
dev Don't modify rz_softc[] entries beyond what was configured. 1996-06-16 16:57:31 +00:00
dist Update the old (4.4bsd/pmax) miniroot build scripts to put mount_ffs 1995-12-22 08:08:14 +00:00
include Fix autoconfig stuff to match the alpha. The DS3100 will now 1996-05-29 06:19:49 +00:00
pmax Fix 4.4bsd/pmax memory-sizing bug: 1996-06-25 05:47:31 +00:00
stand Fix hanging open comment. 1996-04-08 00:52:10 +00:00
tc Fix typo, colon instead of semicolon when DS_5000_25 is not defined. 1996-06-17 07:59:39 +00:00
Makefile new RCS ID format. 1994-10-26 21:08:38 +00:00