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
Unknown Object (File)
Mon, Nov 24, 1:11 AM
Unknown Object (File)
Sat, Nov 22, 8:19 PM
Unknown Object (File)
Sat, Nov 22, 2:56 PM
Unknown Object (File)
Sat, Nov 22, 12:17 PM
Unknown Object (File)
Wed, Nov 19, 9:08 PM
Unknown Object (File)
Tue, Nov 4, 5:38 AM
Unknown Object (File)
Oct 25 2025, 1:09 PM
Unknown Object (File)
Oct 25 2025, 1:09 PM
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.