freebsd-dev/sys/boot/i386/boot2
Ruslan Ermilov 593bbd2195 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
..
boot1.S Minor whitespace tweak. 2006-04-11 20:09:42 +00:00
boot2.c Revert the last change. Masking only 2 MSBs of the virtual address 2006-11-02 17:28:38 +00:00
lib.h Add the ability to specify the boot2 serial console speed in 2005-08-18 00:42:45 +00:00
Makefile
sio.S Add the ability to specify the boot2 serial console speed in 2005-08-18 00:42:45 +00:00