is hw.physmem a unsigned long

Peter Jeremy PeterJeremy at optushome.com.au
Sat Dec 10 11:09:19 PST 2005


On Sat, 2005-Dec-10 10:52:52 -0800, Steve Kargl wrote:
>Is hw.physmem an unsigned long on all FreeBSD architectures?

Since sysctl_hw_physmem() is in an MI file (sys/kern/kern_mib.c), yes.

Interestingly, physmem in the kernel is a signed long on all architectures.
-- 
Peter Jeremy


More information about the freebsd-current mailing list