From owner-cvs-all Thu Nov 7 15:59:17 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5689337B401; Thu, 7 Nov 2002 15:59:16 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F22243E4A; Thu, 7 Nov 2002 15:59:16 -0800 (PST) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gA7NvImV066803; Thu, 7 Nov 2002 15:57:18 -0800 (PST) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gA7NvH2u066802; Thu, 7 Nov 2002 15:57:17 -0800 (PST) Message-Id: <200211072357.gA7NvH2u066802@repoman.freebsd.org> From: Thomas Moestl Date: Thu, 7 Nov 2002 15:57:17 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/kern kern_mib.c src/sys/pc98/i386 machdep.c src/sys/powerpc/powerpc machdep.c src/sys/vm vm_init.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2002/11/07 15:57:17 PST Modified files: sys/alpha/alpha machdep.c sys/i386/i386 machdep.c sys/ia64/ia64 machdep.c sys/kern kern_mib.c sys/pc98/i386 machdep.c sys/powerpc/powerpc machdep.c sys/vm vm_init.c Log: Move the definitions of the hw.physmem, hw.usermem and hw.availpages sysctls to MI code; this reduces code duplication and makes all of them available on sparc64, and the latter two on powerpc. The semantics by the i386 and pc98 hw.availpages is slightly changed: previously, holes between ranges of available pages would be included, while they are excluded now. The new behaviour should be more correct and brings i386 in line with the other architectures. Move physmem to vm/vm_init.c, where this variable is used in MI code. Revision Changes Path 1.189 +0 -27 src/sys/alpha/alpha/machdep.c 1.547 +0 -37 src/sys/i386/i386/machdep.c 1.120 +0 -27 src/sys/ia64/ia64/machdep.c 1.62 +26 -0 src/sys/kern/kern_mib.c 1.302 +0 -37 src/sys/pc98/i386/machdep.c 1.42 +0 -13 src/sys/powerpc/powerpc/machdep.c 1.35 +2 -0 src/sys/vm/vm_init.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message