HomeFreeBSD

Use pmap_mapbios() to map ACPI tables on amd64 and i386.

Description

Use pmap_mapbios() to map ACPI tables on amd64 and i386.

The ACPI table-mapping code used pmap_kenter_temporary() to create
mappings, which in turn uses the fixed-size crashdump map. Moreover,
the code was not verifying that the table fits in this map, so when
mapping large tables we could clobber adjacent mappings. This use of
pmap_kenter_temporary() appears to predate support in pmap_mapbios() for
creating early mappings, but that restriction no longer applies.

PR: 248746
Reviewed by: kib, mav
Tested by: gallatin, Curtis Villamizar <curtis@ipv6.occnc.com>
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26125

Details

Provenance
markjAuthored on
Reviewer
kib
Differential Revision
D26125: Use pmap_mapbios() to map ACPI tables on amd64 and i386.
Parents
rS364410: Remove an unused parameter from map_table().
Branches
Unknown
Tags
Unknown