Warner Losh ed2a65769a Create ptov() function.
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
2020-02-20 00:46:16 +00:00
..
2019-06-25 04:50:09 +00:00
2018-04-27 22:15:18 +00:00
2020-02-20 00:46:16 +00:00
2019-02-26 06:22:10 +00:00
2020-02-20 00:46:16 +00:00
2020-02-20 00:46:16 +00:00
2019-02-26 06:22:10 +00:00
2020-01-25 03:52:16 +00:00
2020-01-23 10:40:34 +00:00
2020-01-02 04:34:22 +00:00
2019-05-24 19:43:38 +00:00
2017-12-02 00:06:58 +00:00