Page MenuHomeFreeBSD

Add macros for arm64 special reg op and CR values
ClosedPublic

Authored by andrew on Jul 28 2021, 2:22 PM.

Details

Summary

Use these to simplify the definition of the user_regs array.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

The macro magic looks good to me, but I didn't check that all the macro args were transcribed to FOO_xxx correctly. The few I did check were right.

This revision is now accepted and ready to land.Jul 28 2021, 2:42 PM
In D31333#705812, @imp wrote:

The macro magic looks good to me, but I didn't check that all the macro args were transcribed to FOO_xxx correctly. The few I did check were right.

I've scripted it to extract values from Arm provided XML.