From owner-freebsd-arch Wed Oct 3 11:20: 2 2001 Delivered-To: freebsd-arch@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id B9DDC37B403 for ; Wed, 3 Oct 2001 11:19:57 -0700 (PDT) Received: (qmail 345 invoked by uid 1000); 3 Oct 2001 18:19:57 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Oct 2001 18:19:57 -0000 Date: Wed, 3 Oct 2001 13:19:57 -0500 (CDT) From: Mike Silbersack To: Terry Lambert Cc: Subject: Re: Reading physical memory in a cross-platform way In-Reply-To: <3BBB53BB.84647DC1@mindspring.com> Message-ID: <20011003131829.D256-100000@achilles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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