Subject: memory size changes
To: None <port-mvme68k@NetBSD.ORG>
From: Jason Thorpe <thorpej@OG.ORG>
List: port-mvme68k
Date: 03/17/1998 23:19:29
Hi folks...

So, when I booted a 1.3E kernel on my '147 (thanks for the NVRAM help,
Herb and Steve!), I noticed that memory size computation was wrong.  I
guess this was broken when support for MACHINE_NEW_NONCONTIG was added,
for UVM.  (physmem, which is supposed to be the number of pages that make
up all of physical memory, not just what is managed by the VM system, was
being computed too low... it wasn't taking into account the kernel image,
or any of the memory before the kernel image, which is occupied by the
bootstrap programs.)

So, I took it upon myself to fix that, as well as the obvious bugs wrt.
crash dumps and multiple memory segments, since I was there :-)

I just checked in the changes, which are working fine on my 8M '147.  If
you encounter any problems, please let me know.

Ciao!

        -- Jason R. Thorpe <thorpej@og.org>