From owner-cvs-src@FreeBSD.ORG Mon Oct 30 18:03:44 2006 Return-Path: X-Original-To: cvs-src@freebsd.org 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 A8C2F16A5FA; Mon, 30 Oct 2006 18:03:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28D7843D67; Mon, 30 Oct 2006 18:03:44 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9UI3bMw081035; Mon, 30 Oct 2006 13:03:39 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ruslan Ermilov Date: Mon, 30 Oct 2006 11:55:54 -0500 User-Agent: KMail/1.9.1 References: <200610291450.k9TEowL4034801@repoman.freebsd.org> In-Reply-To: <200610291450.k9TEowL4034801@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610301155.55597.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 30 Oct 2006 13:03:39 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2131/Sun Oct 29 17:00:12 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/common load_elf.c src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/libi386 elf32_freebsd.c src/sys/boot/pc98/boot2 boot.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 30 Oct 2006 18:03:44 -0000 On Sunday 29 October 2006 09:50, Ruslan Ermilov wrote: > ru 2006-10-29 14:50:58 UTC > > FreeBSD src repository > > Modified files: > sys/boot/common load_elf.c > sys/boot/i386/boot2 boot2.c > sys/boot/i386/libi386 elf32_freebsd.c > sys/boot/pc98/boot2 boot.c > Log: > Because the BTX mini-kernel now uses flat memory mode and clients > are no longer limited to a virtual address space of 16 megabytes, > only mask high two bits of a virtual address. This allows to load > larger kernels (up to 1 gigabyte). Not masking addresses at all > was a bad idea on machines with less than >3G of memory -- kernels > are linked at 0xc0xxxxxx, and that would attempt to load a kernel > at above 3G. By masking only two highest bits we stay within the > safe limits while still allowing to boot larger kernels. > > (This is a safer reimplmentation of sys/boot/i386/boot2/boot.2.c > rev. 1.71.) > > Prodded by: jhb > Tested by: nyan (pc98) Thanks! -- John Baldwin