From owner-cvs-src@FreeBSD.ORG Tue Oct 14 10:02:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8FC516A4B3; Tue, 14 Oct 2003 10:02:19 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F9D543FBD; Tue, 14 Oct 2003 10:02:19 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9EH2JXJ071592; Tue, 14 Oct 2003 10:02:19 -0700 (PDT) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9EH2Ihq071591; Tue, 14 Oct 2003 10:02:18 -0700 (PDT) (envelope-from peter) Message-Id: <200310141702.h9EH2Ihq071591@repoman.freebsd.org> From: Peter Wemm Date: Tue, 14 Oct 2003 10:02:18 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 locore.s X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 17:02:20 -0000 peter 2003/10/14 10:02:18 PDT FreeBSD src repository Modified files: sys/i386/i386 locore.s Log: Fix just about as many bugs in my last commit here as there were lines that I changed. That is never a good sign. 1) only map 1 page at address zero, not 4096 pages 2) page 1 starts at address 4096 (PAGE_SIZE) not 4095 (PAGE_MASK). I don't even want to think what the pte's looked like. 3) subtract the r/o page group start address from the end before converting it to a count. Otherwise an extra page is mapped. If you were affected by this, the symptoms of this was a hang at boot after the spinner. Sorry folks. :-( "You broke my laptop!" by: sam Revision Changes Path 1.180 +3 -2 src/sys/i386/i386/locore.s