Subject: Re: 1.6ZE does not fully recognize RAM
To: Rob Sanchez <sanchero@gvsu.edu>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 11/06/2003 19:37:44
On Thu, Nov 06, 2003 at 12:38:58PM -0500, Rob Sanchez wrote:
> Hi David,
> 
> I set DEBUG_MEMSIZE in getextmemx.c and copied the new /usr/mdec/boot to 
> /boot.  Since it's the only part that changed I didn't re-installboot the 
> /usr/mdec/boot_xxffsv1 to /dev/rwd0a.  Correct me if I'm wrong here...

Yes - that is enough.

> Now what I see is this:
> 
> *******************
> NetBSD/i386 ffsv1 Primary Bootstrap
> 
>  >> NetBSD/i386 BIOS, Revision 3.1
>  >> (sanch@bovine, Thu Nov  6 12:16:08 UTC 2003)
> extmem1: ffc0
>  >> Memory: 639/65472 k
> *******************
> 
> As you can see I don't get the "extmem2:" nor the "mementry:" lines...

I did say that it might be informative.....

Neither the C nor the assembler has changed much. Although there are
some subtle changes in the segment register values.

OTOH extemem2() doesn't use any pointers, and the mementry code ought
to iterate through the memory regions even if the bios writes the info
to a random address.

I guess you need to (somehow) find out which code part found the memory
soze before.

	David

-- 
David Laight: david@l8s.co.uk