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)
Sun, Apr 19, 4:05 PM
Unknown Object (File)
Thu, Apr 16, 2:09 PM
Unknown Object (File)
Wed, Apr 15, 10:58 AM
Unknown Object (File)
Tue, Apr 14, 10:30 PM
Unknown Object (File)
Sat, Apr 11, 11:15 PM
Unknown Object (File)
Fri, Apr 10, 5:01 PM
Unknown Object (File)
Wed, Apr 8, 9:06 PM
Unknown Object (File)
Feb 8 2026, 3:22 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.