From owner-cvs-src-old@FreeBSD.ORG Tue Nov 2 17:56:37 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 234581065672 for ; Tue, 2 Nov 2010 17:56:37 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 10C788FC14 for ; Tue, 2 Nov 2010 17:56:37 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oA2Huas1087182 for ; Tue, 2 Nov 2010 17:56:36 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA2HuapE087181 for cvs-src-old@freebsd.org; Tue, 2 Nov 2010 17:56:36 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201011021756.oA2HuapE087181@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 2 Nov 2010 17:56:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 machdep.c src/sys/x86/x86 nexus.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 17:56:37 -0000 jhb 2010-11-02 17:56:16 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c sys/x86/x86 nexus.c Log: SVN rev 214681 on 2010-11-02 17:56:16Z by jhb Further tweaks to the ram_attach() routine: - Use > 2^32 - 1 instead of >= when checking for memory regions above 4G. - Skip SMAP entries > 4G on i386 rather than breaking out of the loop since SMAP entries are not guaranteed to be in order. - Remove 'i' and loop over 'rid' directly in the dump_avail[] case. - Only check for 4G regions in the dump_avail[] case on i386 if PAE is enabled since vm_paddr_t is 32-bit in the !PAE case. Submitted by: alc Revision Changes Path 1.710 +1 -1 src/sys/i386/i386/machdep.c 1.4 +8 -9 src/sys/x86/x86/nexus.c