Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 15:00:44 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        src-committers@freebsd.org
Cc:        cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/boot/i386/libi386 biosacpi.c
Message-ID:  <200604251500.46894.jhb@freebsd.org>
In-Reply-To: <200604251842.k3PIgNiL086947@repoman.freebsd.org>
References:  <200604251842.k3PIgNiL086947@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kongjinzhu@163.com>

(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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604251500.46894.jhb>