Page MenuHomeFreeBSD

Use MACHINE_CPUARCH when checking for arm64

Authored by andrew on Wed, Sep 9, 10:38 AM.



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

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

andrew created this revision.Wed, Sep 9, 10:38 AM
andrew requested review of this revision.Wed, Sep 9, 10:38 AM
brooks accepted this revision.Wed, Sep 9, 5:44 PM
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.Wed, Sep 9, 5:44 PM
This revision was automatically updated to reflect the committed changes.