Call for testers: libiberty/physmem.c
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Fri Feb 21 17:00:00 GMT 2003
> From: Andrew Pinski <apinski@apple.com>
>
> On `OpenBSD grendel 3.1 GENERIC#4 i386' aka i?86-unknown-openbsd3.1:
> total=0.000000Mb avail=0.000000Mb
>
> but `sysctl -A' gives:
> hw.physmem = 536059904
> hw.usermem = 535629824
> hw.pagesize = 4096
>
> I think this might be the same problem on all *BSD (including darwin).
Is `sysctl' a binary program or a system call? (Or both?)
What would the C interface look like? What autoconf magic does it need?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc
mailing list