Date: Wed, 03 Oct 2001 12:39:14 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Mike Silbersack <silby@silby.com> Cc: freebsd-arch@freebsd.org Subject: Re: Reading physical memory in a cross-platform way Message-ID: <3BBB6962.9894CD87@mindspring.com> References: <20011003131829.D256-100000@achilles.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Silbersack wrote: > > On Wed, 3 Oct 2001, Terry Lambert wrote: > > > Mike Silbersack wrote: > > > 1. Is there a variable / function which contains the size of memory > > > across all platforms that I am missing? > > > > sysctl -A | grep -i mem > > Er, I guess I should explain more. This is code inside the kernel in > various places. I'm just trying to find a quick way to have the number of > bytes of physical memory available on all platforms without any > conversions necessary. Then you want my patch; I will send it to you from work. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BBB6962.9894CD87>