Page MenuHomeFreeBSD

Use MACHINE_CPUARCH when checking for arm64
ClosedPublic

Authored by andrew on Sep 9 2020, 10:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 7, 10:09 AM
Unknown Object (File)
Tue, Mar 4, 1:15 PM
Unknown Object (File)
Mon, Mar 3, 1:55 PM
Unknown Object (File)
Sat, Mar 1, 9:16 AM
Unknown Object (File)
Jan 29 2025, 7:53 AM
Unknown Object (File)
Jan 3 2025, 6:20 AM
Unknown Object (File)
Nov 2 2024, 11:26 PM
Unknown Object (File)
Nov 2 2024, 11:26 PM

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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33453
Build 30735: arc lint + arc unit

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.