From owner-cvs-all@FreeBSD.ORG Tue Mar 20 21:08:40 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A0C416A402; Tue, 20 Mar 2007 21:08:40 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7306713C4BB; Tue, 20 Mar 2007 21:08:40 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2KL8eq6077585; Tue, 20 Mar 2007 21:08:40 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2KL8eZX077581; Tue, 20 Mar 2007 21:08:40 GMT (envelope-from jhb) Message-Id: <200703202108.l2KL8eZX077581@repoman.freebsd.org> From: John Baldwin Date: Tue, 20 Mar 2007 21:08:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 nexus.c src/sys/i386/i386 nexus.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 21:08:40 -0000 jhb 2007-03-20 21:08:40 UTC FreeBSD src repository Modified files: sys/amd64/amd64 nexus.c sys/i386/i386 nexus.c Log: Add a new ram0 pseudo-device that claims memory resouces for physical addresses corresponding to system RAM. On amd64 ram0 uses the SMAP and claims all the type 1 SMAP regions. On i386 ram0 uses the dump_avail[] array. Note that on i386 we have to ignore regions above 4G in PAE kernels since bus resources use longs. Revision Changes Path 1.74 +76 -0 src/sys/amd64/amd64/nexus.c 1.70 +78 -0 src/sys/i386/i386/nexus.c