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
F166012919: D58110.id181718.diff
Tue, Aug 11, 1:04 AM
F166007178: D58110.id181539.diff
Mon, Aug 10, 11:44 PM
F165982617: D58110.id.diff
Mon, Aug 10, 7:46 PM
F165942223: D58110.id181549.diff
Mon, Aug 10, 4:04 PM
F165875218: D58110.id181539.diff
Mon, Aug 10, 9:42 AM
Unknown Object (File)
Sun, Aug 9, 11:46 AM
Unknown Object (File)
Sun, Aug 9, 3:50 AM
Unknown Object (File)
Sat, Aug 8, 11:04 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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