Subject: "large" ram on mac68k
To: None <port-mac68k@netbsd.org>
From: Tod McQuillin <devin@spamcop.net>
List: port-mac68k
Date: 04/29/2001 03:20:04
I have managed to accumulate 96MB of ram for my little IIci, which I
suppose is quite useful now that we have UBC, but there seems to be a
small glitch in memory reporting at boot time.
Here's what 1.5U says (though 1.4.2 had a similar problem):
NetBSD 1.5U (GENERIC) #41: Sat Apr 21 14:40:56 PDT 2001
root2@c610:/usr/cvs/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh IIci (68030)
cpu: delay factor 266
total memory = 65536 KB
avail memory = 88444 KB
using 844 buffers containing 3376 KB of memory
It seems the "total memory" is capped at 64MB regardless of how much ram
is in the machine. (normally "avail" should be smaller than "total",
right?)
/usr/src/sys/arch/mac68k/mac68k/machdep.c has this on line 124:
#define MAXMEM 64*1024 /* XXX - from cmap.h */
I don't see a cmap.h anywhere in my sources though.
So, is this more than a cosmetic problem? What's the right fix?
--
Tod McQuillin