the G4 decides to claim that no real memory exists in the machine, even
though memory is available. Real memory size is aliased to available.
Take this out if a real cause is determined.
-/* $OpenBSD: ofw_machdep.c,v 1.13 2000/03/20 07:05:53 rahnds Exp $ */
+/* $OpenBSD: ofw_machdep.c,v 1.14 2000/03/23 04:04:21 rahnds Exp $ */
/* $NetBSD: ofw_machdep.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
<= 0)
panic("no memory?");
*memp = OFmem;
+ /* HACK */
+ if (OFmem[0].size == 0) {
+ *memp = OFavail;
+ }
*availp = OFavail;
}