HomeFreeBSD

x86/xen: stop assuming kernel memory loading order in PVH

Description

x86/xen: stop assuming kernel memory loading order in PVH

Do not assume that start_info will always be loaded at the highest
memory address, and instead check the position of all the loaded
elements in order to find the last loaded one, and thus a likely safe
place to use as early boot allocation memory space.

Reported by: markj, cperciva
Sponsored by: Citrix Systems R&D
Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D35628

Details

Provenance
roygerAuthored on Jun 28 2022, 3:37 PM
Reviewer
markj
Differential Revision
D35628: x86/xen: stop assuming kernel memory loading order in PVH
Parents
rG038405f32f71: Enable CRC64 checksums in xz.
Branches
Unknown
Tags
Unknown