cvs commit: src/sys/boot/i386/libi386 biosacpi.c
John Baldwin
jhb at freebsd.org
Tue Apr 25 19:00:58 UTC 2006
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 at 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 at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list