freebsd-dev/sys/x86
John Baldwin 38a13e9002 Fix the MPTable probe code after the 4:4 changes on i386.
The MPTable probe code was using PMAP_MAP_LOW as the PA -> VA offset
when searching for the table signature but still using KERNBASE once
it had found the table.  As a result, the mpfps table pointed into a
random part of the kernel text instead of the actual MP Table.

Rather than adding more #ifdef's, use BIOS_PADDRTOVADDR from
<machine/pc/bios.h> which already uses PMAP_MAP_LOW on i386 and KERNBASE
on amd64.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D16802
2018-08-19 17:36:50 +00:00
..
acpica Implement kernel support for early loading of Intel microcode updates. 2018-08-13 17:13:09 +00:00
bios sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
cpufreq cpufreq: Remove error-prone table terminators in favor of automatic sizing 2018-04-14 03:15:05 +00:00
include Remove some vestiges of IPI_LAZYPMAP on i386. 2018-08-19 16:14:59 +00:00
iommu Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
isa Provide a helper function acpi_get_fadt_bootflags() to fetch the FADT 2018-06-25 11:01:12 +00:00
pci Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00
x86 Fix the MPTable probe code after the 4:4 changes on i386. 2018-08-19 17:36:50 +00:00
xen xen: implement early init helper for PVHv2 2018-07-19 08:44:52 +00:00