ed2a65769a
Create a ptov() function. It's basically the same as the btx PTOV macro, but works everywhere. smbios needs this to translate addresses, but the translation differs between BIOS booting and EFI booting. Make it a function so one smbios.o can be used everywhere. Provide definitions for it in the two loaders affected. Differential Revision: https://reviews.freebsd.org/D23660 |
||
---|---|---|
.. | ||
amd64_tramp.S | ||
bio.c | ||
biosacpi.c | ||
biosdisk.c | ||
biosmem.c | ||
biospci.c | ||
biospnp.c | ||
biossmap.c | ||
bootinfo32.c | ||
bootinfo64.c | ||
bootinfo.c | ||
comconsole.c | ||
devicename.c | ||
elf32_freebsd.c | ||
elf64_freebsd.c | ||
i386_copy.c | ||
i386_module.c | ||
libi386.h | ||
Makefile | ||
Makefile.depend | ||
multiboot_tramp.S | ||
multiboot.c | ||
multiboot.h | ||
nullconsole.c | ||
pread.c | ||
pxe.c | ||
pxe.h | ||
pxetramp.S | ||
relocater_tramp.S | ||
smbios.c | ||
smbios.h | ||
spinconsole.c | ||
time.c | ||
vidconsole.c |