summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/include
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2019-05-28 20:32:31 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2019-05-28 20:32:31 +0000
commite38afe5713823427a93a4d345980264b1596ebf4 (patch)
tree52bc7f76968243aac8851ff711b1e0c0a535d549 /sys/arch/armv7/include
parent5837f76c6c1e13d30d267690afbde081a914afd4 (diff)
On bigger arm64 machines with plenty of memory it is possible that
the kernel, which is allocated in low memory by efiboot, is not in the same 512 GiB L0 address space as the EFI/FDT/ACPI tables. Since we only identity-map a single L0 entry for bootstrapping purposes we can't reach those tables. Keep a set of spare L1 tables, currently one, which we can dynamically enter into the identity map so that we are able to reach those tables. While there, do the FDT mapping a bit later in C code by calling pmap_map_early(). This allows us to boot further on Packet's Ampere eMAGs. Discussed with drahn@ ok kettenis@
Diffstat (limited to 'sys/arch/armv7/include')
0 files changed, 0 insertions, 0 deletions