freebsd-skq/sys/boot/i386/libi386
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
..
amd64_tramp.S
biosacpi.c Use PTOV() to convert physical addresses to appropriate virtual addresses 2006-04-25 18:42:22 +00:00
bioscd.c Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
biosdisk.c Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
biosmem.c For the cases when loading bzip2-compressed kernels enabled use last 2005-12-21 02:17:58 +00:00
biospci.c Fix most of the WARNS=2 warnings. 2006-09-29 20:27:41 +00:00
biospnp.c Long-long time ago, when the trees were large and memory expensive amount of 2005-12-19 09:00:11 +00:00
biossmap.c Oops, add return values for the smap command function. We must have the 2006-09-29 20:07:16 +00:00
bootinfo32.c Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
bootinfo64.c Fix most of the WARNS=2 warnings. 2006-09-29 20:27:41 +00:00
bootinfo.c Cause all flags passed by boot2 to set the respective loader(8) 2005-09-22 15:14:13 +00:00
comconsole.c Add a "comconsole_speed" loader variable that can be used to change 2005-08-18 01:39:43 +00:00
devicename.c Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
elf32_freebsd.c Revert the last change. Masking only 2 MSBs of the virtual address 2006-11-02 17:28:38 +00:00
elf64_freebsd.c Adopt comments borrowed from aout_freebsd.c. 2006-10-26 20:04:22 +00:00
i386_copy.c For the cases when loading bzip2-compressed kernels enabled use last 2005-12-21 02:17:58 +00:00
i386_module.c
libi386.h Extend struct devdesc with a unit field, called d_unit. Promote the 2006-11-02 01:23:18 +00:00
Makefile Drop the gateA20() function in the loader as it is unused. All the other 2006-04-11 20:11:30 +00:00
nullconsole.c
pread.c
pxe.c Pass the hostname we got from DHCP to the kernel so that machines can 2005-04-17 21:38:22 +00:00
pxe.h
pxetramp.s
smbios.c Export SMBIOS serial numbers by default. To turn it off, use 2006-03-14 19:02:00 +00:00
time.c
vidconsole.c