freebsd-skq/sys/boot/pc98
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
..
boot0 Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
boot0.5 Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
boot2 Revert the last change. Masking only 2 MSBs of the virtual address 2006-11-02 17:28:38 +00:00
btx Remove ifdef PC98. 2005-05-08 14:17:28 +00:00
cdboot Add a bootable CD support. 2006-05-14 07:26:02 +00:00
kgzldr Remove ifdef PC98. 2005-05-08 14:17:28 +00:00
libpc98 Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
loader Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
Makefile Add a bootable CD support. 2006-05-14 07:26:02 +00:00
Makefile.inc MFi386: revisions 1.10 and 1.11. 2005-09-13 08:27:38 +00:00