From owner-cvs-src-old@FreeBSD.ORG Tue Sep 22 16:51:14 2009 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 A364A1065786 for ; Tue, 22 Sep 2009 16:51:14 +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 912A78FC08 for ; Tue, 22 Sep 2009 16:51:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8MGpEaL078082 for ; Tue, 22 Sep 2009 16:51:14 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8MGpEuk078081 for cvs-src-old@freebsd.org; Tue, 22 Sep 2009 16:51:14 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200909221651.n8MGpEuk078081@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 22 Sep 2009 16:51:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 machdep.c src/sys/i386/i386 machdep.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, 22 Sep 2009 16:51:14 -0000 jhb 2009-09-22 16:51:00 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c sys/i386/i386 machdep.c Log: SVN rev 197410 on 2009-09-22 16:51:00Z by jhb - Split the logic to parse an SMAP entry out into a separate function on amd64 similar to i386. This fixes a bug on amd64 where overlapping entries would not cause the SMAP parsing to stop. - Change the SMAP parsing code to do a sorted insertion into physmap[] instead of an append to support systems with out-of-order SMAP entries. PR: amd64/138220 Reported by: James R. Van Artsdalen james of jrv org MFC after: 3 days Revision Changes Path 1.710 +73 -33 src/sys/amd64/amd64/machdep.c 1.692 +34 -6 src/sys/i386/i386/machdep.c