freebsd-skq/sys/boot/i386/gptboot
ru 72eb46ae51 Revert the last change. Masking only 2 MSBs of the virtual address
to get the physical address doesn't work for all values of KVA_PAGES,
while masking 8 MSBs works for all values of KVA_PAGES that are
multiple of 4 for non-PAE and 8 for PAE.  (This leaves us limited
with 12MB for non-PAE kernels and 14MB for PAE kernels.)

To get things right, we'd need to subtract the KERNBASE from the
virtual address (but KERNBASE is not easy to figure out from here),
or have physical addresses set properly in the ELF headers.

Discussed with:	jhb
2006-11-02 17:28:38 +00:00
..
gptboot.c Revert the last change. Masking only 2 MSBs of the virtual address 2006-11-02 17:28:38 +00:00
Makefile Add -mno-sse3 for prescott/nocona 2005-07-15 12:22:14 +00:00