diff options
author | Mark Johnston <markj@FreeBSD.org> | 2020-08-20 00:52:53 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2020-08-20 00:52:53 +0000 |
commit | 72c7f24c8d2d136757bb30366d65b7e68943994d (patch) | |
tree | 61b6bd32293ab4fde2acafb6faa72622775811c7 /cddl | |
parent | ee4df38d0290d1b6f60f724a3df4f9ba4130b338 (diff) | |
download | src-72c7f24c8d2d136757bb30366d65b7e68943994d.tar.gz src-72c7f24c8d2d136757bb30366d65b7e68943994d.zip |
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
Notes
Notes:
svn path=/head/; revision=364411
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions