freebsd-dev/sys/boot/i386
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 Restore the pre-5.x behavior of only beeping if the user makes a bad 2006-05-03 13:43:46 +00:00
boot0ext Thanks to David's patches, we can now simplify these makefiles 2004-04-28 21:31:21 +00:00
boot0sio Thanks to David's patches, we can now simplify these makefiles 2004-04-28 21:31:21 +00:00
boot2 Revert the last change. Masking only 2 MSBs of the virtual address 2006-11-02 17:28:38 +00:00
btx - Fix a couple of improper uses of leal in the previous space saving 2006-10-05 15:30:51 +00:00
cdboot Tweak comment. 2006-04-11 17:36:08 +00:00
gptboot Revert the last change. Masking only 2 MSBs of the virtual address 2006-11-02 17:28:38 +00:00
kgzldr NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
libi386 Revert the last change. Masking only 2 MSBs of the virtual address 2006-11-02 17:28:38 +00:00
loader Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
mbr Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
pxeldr - Update URL of Intel documentation 2006-10-07 10:39:34 +00:00
Makefile Hook boot0sio to the build. Use 'boot0cfg -b /boot/boot0sio' to use. 2003-12-08 19:02:06 +00:00
Makefile.inc Add -march=i386 to fix amd64 build by generating the same code 2006-09-28 10:02:04 +00:00