Page MenuHomeFreeBSD

Remove 'cpu' and 'cpu_class' on amd64.
ClosedPublic

Authored by jhb on Sep 13 2016, 11:05 PM.
Tags
None
Referenced Files
F161819088: D7888.id20370.diff
Tue, Jul 7, 3:04 AM
Unknown Object (File)
Fri, Jul 3, 9:00 PM
Unknown Object (File)
Mon, Jun 29, 2:17 PM
Unknown Object (File)
Sat, Jun 20, 3:34 PM
Unknown Object (File)
Sat, Jun 20, 1:24 AM
Unknown Object (File)
Fri, Jun 12, 8:02 PM
Unknown Object (File)
May 7 2026, 11:07 AM
Unknown Object (File)
May 6 2026, 5:46 AM
Subscribers

Details

Summary

Remove 'cpu' and 'cpu_class' on amd64.

The 'cpu' and 'cpu_class' variables were always set to the same value
on amd64 and are legacy holdovers from i386. Remove them entirely on
amd64.

Test Plan
  • universe build
  • boot amd64 kernel

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Remove 'cpu' and 'cpu_class' on amd64..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
imp added a reviewer: imp.
This revision is now accepted and ready to land.Sep 13 2016, 11:15 PM
kib edited edge metadata.
jhb edited edge metadata.
  • Rebase
  • Move 'cpu' and 'cpu_class' into i386 cputypes.h.
  • Ensure cpu_model is initialized on amd64.
This revision now requires review to proceed.Sep 15 2016, 4:39 PM
This revision was automatically updated to reflect the committed changes.