Page MenuHomeFreeBSD

amd64: move efi_map_regs definition
ClosedPublic

Authored by vexeduxr on Jul 6 2025, 8:01 PM.
Tags
None
Referenced Files
F152921510: D51183.diff
Sat, Apr 18, 1:53 AM
Unknown Object (File)
Fri, Apr 17, 11:58 AM
Unknown Object (File)
Tue, Apr 14, 1:07 PM
Unknown Object (File)
Mon, Apr 13, 10:35 PM
Unknown Object (File)
Mon, Apr 6, 11:08 PM
Unknown Object (File)
Mon, Apr 6, 2:32 PM
Unknown Object (File)
Sun, Apr 5, 7:24 PM
Unknown Object (File)
Sat, Apr 4, 9:25 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65239
Build 62122: arc lint + arc unit

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.