Page MenuHomeFreeBSD

amd64: move efi_map_regs definition
ClosedPublic

Authored by vexeduxr on Jul 6 2025, 8:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 26, 6:38 PM
Unknown Object (File)
Wed, Nov 26, 5:59 PM
Unknown Object (File)
Nov 14 2025, 11:36 PM
Unknown Object (File)
Nov 1 2025, 3:13 AM
Unknown Object (File)
Oct 27 2025, 1:12 PM
Unknown Object (File)
Oct 26 2025, 8:08 AM
Unknown Object (File)
Oct 25 2025, 4:16 AM
Unknown Object (File)
Oct 24 2025, 7:33 PM
Subscribers

Details

Summary

Since efi_map_regs is used in machdep.c, efirt being compiled as a
module causes it to be left undefined.

Noticed by: kib

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib added inline comments.
sys/amd64/amd64/machdep.c
192
This revision is now accepted and ready to land.Jul 6 2025, 8:59 PM

Reword comment to make it clear what the variable is for

This revision now requires review to proceed.Jul 6 2025, 9:11 PM
This revision is now accepted and ready to land.Jul 6 2025, 9:19 PM

Please be sure to include a Fixes: tag in the commit message.

This revision was automatically updated to reflect the committed changes.