Page MenuHomeFreeBSD

Use MACHINE_CPUARCH when checking for arm64
ClosedPublic

Authored by andrew on Sep 9 2020, 10:38 AM.
Tags
None
Referenced Files
F150812849: D26370.id76802.diff
Sat, Apr 4, 5:38 AM
F150784616: D26370.id77014.diff
Sat, Apr 4, 1:08 AM
Unknown Object (File)
Fri, Apr 3, 6:15 AM
Unknown Object (File)
Tue, Mar 24, 6:06 PM
Unknown Object (File)
Tue, Mar 17, 3:41 AM
Unknown Object (File)
Fri, Mar 6, 12:21 PM
Unknown Object (File)
Mar 3 2026, 9:16 PM
Unknown Object (File)
Nov 20 2025, 2:16 AM

Details

Summary

Use MACHINE_CPUARCH with arm64 (aarch64) when we build code that could run
on any 64-bit Arm instruction set. This will simplify checks in downstream
consumers targeting prototype instruction sets.

The only place we check for MACHINE_ARCH == aarch64 is when building the
device tree blobs. As these are targeting current generation ISAs.

Diff Detail

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

Event Timeline

brooks added a reviewer: imp.
brooks added a subscriber: imp.

Seems fine to me, but tagging @imp for further review.

This revision is now accepted and ready to land.Sep 9 2020, 5:44 PM
This revision was automatically updated to reflect the committed changes.