Date: Wed, 3 Oct 2001 13:19:57 -0500 (CDT) From: Mike Silbersack <silby@silby.com> To: Terry Lambert <tlambert2@mindspring.com> Cc: <freebsd-arch@freebsd.org> Subject: Re: Reading physical memory in a cross-platform way Message-ID: <20011003131829.D256-100000@achilles.silby.com> In-Reply-To: <3BBB53BB.84647DC1@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Mike "Silby" Silbersack 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?20011003131829.D256-100000>