Subject: Re: "large" ram on mac68k
To: gabriel rosenkoetter <gr@eclipsed.net>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 04/29/2001 08:38:45
Well, on my 1.5T Mac IIci, I have

	NetBSD 1.5T (MAC1) #12: Sat Mar 31 07:18:04 PST 2001
	    paul@pc1.whooppee.com:/usr/src/sys/arch/mac68k/compile/MAC1
	Apple Macintosh IIci  (68030)
	cpu: delay factor 266
	total memory = 81920 KB
	avail memory = 72876 KB
	using 1049 buffers containing 4196 KB of memory

And my machdep.c still has the questionable $define:

	/*      $NetBSD: machdep.c,v 1.260 2001/03/15 06:10:41 chs Exp $
	*/
	<snip>
	#include <machine/kcore.h>      /* XXX should be pulled in by
	sys/kcore.h */
 
	#define MAXMEM  64*1024 /* XXX - from cmap.h */
	#include <uvm/uvm_extern.h>

So it doesn't seem to hurt anything here...

On Sun, 29 Apr 2001, gabriel rosenkoetter wrote:

> On Sun, Apr 29, 2001 at 10:23:52AM -0400, Allen Briggs wrote:
> > > total memory = 65536 KB
> > > avail memory = 88444 KB
> > 
> > Are you sure that MacOS sees the 96MB?  NetBSD just gets the value from
> > the booter.
> 
> Nothing personal, Allen, but did you look closely at the lines I've
> requoted above? How could avail memory reported as greater than
> total memory if there weren't actually more than 64 MBs in the
> machine?
> 
> I don't know enough to know if I agree that this is a limitation
> stemming from src/sys/arch/mac68k/mac68k/machdep.c's #define MAXMEM (though
> that's a #define distinctly absent from other ports I glanced at) as
> Tod suggested, but that #define is definitely still present in my
> 1.5U (vaguely April 4, I think) copy of the source. I don't have a
> 1.5-release branch checked out right now to check against.
> 
>        ~ g r @ eclipsed.net
> 

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com   |
|  & World Cruiser | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
----------------------------------------------------------------------