From owner-cvs-src@FreeBSD.ORG Sat Sep 18 22:08:52 2004 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 E6E0616A4CE; Sat, 18 Sep 2004 22:08:52 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A23743D1F; Sat, 18 Sep 2004 22:08:52 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i8IM8o2L015148; Sun, 19 Sep 2004 00:08:50 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John Baldwin From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 18 Sep 2004 16:59:48 EDT." <200409181659.48310.jhb@FreeBSD.org> Date: Sun, 19 Sep 2004 00:08:50 +0200 Message-ID: <15147.1095545330@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c 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: Sat, 18 Sep 2004 22:08:53 -0000 In message <200409181659.48310.jhb@FreeBSD.org>, John Baldwin writes: >On Saturday 18 September 2004 03:08 am, Poul-Henning Kamp wrote: >> In message <200409180207.i8I27044010045@repoman.freebsd.org>, John Baldwin >> writ >> >> es: >> >jhb 2004-09-18 02:07:00 UTC >> > >> > FreeBSD src repository >> > >> > Modified files: >> > sys/boot/i386/boot2 boot2.c >> > Log: >> > A long, long time ago in a CVS branch far away (specifically, HEAD prior >> > to 4.0 and RELENG_3), the BTX mini-kernel used paging rather than flat >> > mode and clients were limited to a virtual address space of 16 >> > megabytes. Because of this limitation, boot2 silently masked all physical >> > addresses in any binaries it loaded so that they were always loaded into >> > the first 16 Meg. Since BTX no longer has this limitation (and hasn't >> > for a long time), remove the masking from boot2. This allows boot2 to >> > load kernels larger than about 12 to 14 meg (12 for non-PAE, 14 for PAE). >> >> Does this also give us better space for isa_dma bounce buffers ? > >Err, I don't see how it could. This only affects how boot2 handles addresses >in the executables it loads, it doesn't affect how the kernel manages memory >at all. it was the "so that they were always loaded into the first 16 Meg" that triggered a neuron here. We're seeing isa-dma bounce buffers getting hard to get hold of these days. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.