Page MenuHomeFreeBSD

Force 16 byte alignment of preloaded files on i386 and amd64.
AbandonedPublic

Authored by markj on Jul 19 2018, 8:36 PM.
Tags
None
Referenced Files
F157236646: D16354.id45559.diff
Tue, May 19, 2:09 PM
Unknown Object (File)
Wed, May 13, 3:42 PM
Unknown Object (File)
Tue, May 5, 11:28 PM
Unknown Object (File)
Thu, Apr 30, 5:12 PM
Unknown Object (File)
Mon, Apr 27, 11:42 PM
Unknown Object (File)
Apr 19 2026, 4:05 PM
Unknown Object (File)
Apr 16 2026, 2:09 PM
Unknown Object (File)
Apr 15 2026, 10:58 AM
Subscribers

Details

Reviewers
imp
kevans
Summary

This is required to support early microcode loading, which occurs before
we can use a kernel memory allocator to make an aligned copy of the
microcode update file.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18178
Build 17911: arc lint + arc unit

Event Timeline

The approach taken in D16370 means that we don't need this anymore. There is some argument for providing a minimum alignment of CACHE_LINE_SIZE or so to all preloaded files, but this change isn't the right way to do that.