On Wed, Nov 12, 2008 at 10:43 PM, Rich Smrcina <rsmrcina (at) wi.rr.com> wrote:
It looks like the problem is this, then?
# sysctl -a|grep physmem
hw.physmem = -537526272
hw.physmem64 = 3757441024
But if hobbit is using a signed int, which it does seem to be here, I
don't see how hobbit could get it anything but wrong when there's more
than 2 GB of RAM.
Given this code, that's my understanding:
25 int physmem;
67 printf("Total:%d\n", (physmem / (1024 * 1024)));
So is this also a bug in FreeBSD, as they are also using an unsigned
long, for this and for pagesize?
Could you help me understand why you say this is a bug in NetBSD?
-Tracy
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk