Page MenuHomeFreeBSD

x86/local_apic.c: Factor out version read and max LVT slot computation
ClosedPublic

Authored by olce on Jul 8 2026, 1:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 12, 3:38 PM
Unknown Object (File)
Tue, Aug 11, 11:14 PM
Unknown Object (File)
Tue, Aug 11, 11:09 PM
Unknown Object (File)
Tue, Aug 11, 5:29 AM
Unknown Object (File)
Tue, Aug 11, 1:04 AM
Unknown Object (File)
Mon, Aug 10, 11:44 PM
Unknown Object (File)
Mon, Aug 10, 7:46 PM
Unknown Object (File)
Mon, Aug 10, 4:04 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74626
Build 71509: arc lint + arc unit

Event Timeline

olce requested review of this revision.Jul 8 2026, 1:14 PM

Be consistent and declare all small helpers as inline.

olce removed a subscriber: kib.
This revision is now accepted and ready to land.Jul 8 2026, 8:30 PM
sys/x86/x86/local_apic.c
383

What is __const?

olce marked an inline comment as done.Jul 9 2026, 7:26 PM
olce added inline comments.
sys/x86/x86/local_apic.c
383

A mistake, I was thinking about the const attribute to functions. Replace by our __pure2 in my tree.

olce marked an inline comment as done.Jul 9 2026, 7:26 PM