Page MenuHomeFreeBSD

stand/efi: add modulep to kernel metadata
ClosedPublic

Authored by royger on Feb 5 2021, 12:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 3:18 PM
Unknown Object (File)
Wed, Sep 4, 8:46 PM
Unknown Object (File)
Sat, Aug 31, 8:28 AM
Unknown Object (File)
Aug 24 2024, 1:41 PM
Unknown Object (File)
Aug 14 2024, 11:08 PM
Unknown Object (File)
Aug 7 2024, 8:55 AM
Unknown Object (File)
Jul 25 2024, 6:06 PM
Unknown Object (File)
Jul 24 2024, 11:59 PM

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36727
Build 33616: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Feb 5 2021, 7:48 PM
This revision was automatically updated to reflect the committed changes.

This appears to have broken the AArch64 build for me:

/local/scratch/alr48/cheri/freebsd/stand/efi/loader_4th/../loader/bootinfo.c:535:24: error: use of undeclared identifier 'MODINFOMD_MODULEP'
        file_addmetadata(kfp, MODINFOMD_MODULEP, sizeof(module), &module);