HomeFreeBSD

stand/efi: add modulep to kernel metadata

Description

stand/efi: add modulep to kernel metadata

This mirrors the functionality of the BIOS amd64 bi_load function,
that stashes the absolute address of the module metadata. This is
required for booting as a Xen dom0 that does relocate the modulep and
the loaded modules, and thus requires adjusting the offset.

No functional change introduced, further patches will make use of this
functionality for Xen dom0 loading.

Sponsored by: Citrix Systems R&D
Reviewed by: imp
Differential revision: https://reviews.freebsd.org/D28496

(cherry picked from commit 7d3259775cb69f250df3e7fe51d6fff2283c6f20)

Details

Provenance
roygerAuthored on Feb 5 2021, 10:11 AM
impCommitted on Jan 24 2023, 9:49 PM
Reviewer
imp
Differential Revision
D28496: stand/efi: add modulep to kernel metadata
Parents
rGb38b585da053: stand/efi: allow not exiting boot services
Branches
Unknown
Tags
Unknown