From owner-cvs-src@FreeBSD.ORG Tue Apr 25 19:00:57 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 5A3F716A403; Tue, 25 Apr 2006 19:00:57 +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 D66BC43D45; Tue, 25 Apr 2006 19:00:56 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3PJ0rwL062870; Tue, 25 Apr 2006 15:00:56 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: src-committers@freebsd.org Date: Tue, 25 Apr 2006 15:00:44 -0400 User-Agent: KMail/1.9.1 References: <200604251842.k3PIgNiL086947@repoman.freebsd.org> In-Reply-To: <200604251842.k3PIgNiL086947@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604251500.46894.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1425/Tue Apr 25 08:09:41 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/libi386 biosacpi.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: Tue, 25 Apr 2006 19:00:58 -0000 On Tuesday 25 April 2006 14:42, John Baldwin wrote: > jhb 2006-04-25 18:42:22 UTC > > FreeBSD src repository > > Modified files: > sys/boot/i386/libi386 biosacpi.c > Log: > Use PTOV() to convert physical addresses to appropriate virtual addresses > in the loader when searching for the ACPI RSDP. (The loader runs in a flat > mode with va 0 == pa 0xa000.) Submitted by: kongjinzhu (oops) Curiously, I'm not sure how PTOV() is supposed to work for physical addresses < 0xa000 such as the values in the BIOS data area (seg 0x40) or the boot2 args (0x900). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org