Page MenuHomeFreeBSD

arm64: Fix the capitalization of CurrentEL
ClosedPublic

Authored by andrew on Aug 25 2026, 2:37 PM.
Tags
None
Referenced Files
F173662803: D59180.id186266.diff
Sun, Sep 27, 1:43 PM
Unknown Object (File)
Thu, Sep 24, 6:47 AM
Unknown Object (File)
Thu, Sep 24, 4:42 AM
Unknown Object (File)
Sat, Sep 19, 2:44 PM
Unknown Object (File)
Sat, Sep 19, 3:17 AM
Unknown Object (File)
Thu, Sep 17, 3:40 PM
Unknown Object (File)
Wed, Sep 16, 4:44 PM
Unknown Object (File)
Wed, Sep 16, 2:55 PM

Details

Summary

Use the same capitalization as the Arm documentation.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

There is one lowercase 'currentel' in the machdep file, though in a block of all-lowercase registers so maybe we don't want to capitalise that one. LGTM otherwise.

sys/arm64/arm64/machdep.c
1000:	PRINT_REG(currentel);
This revision is now accepted and ready to land.Tue, Sep 8, 2:58 PM

That code probably needs to be updated, e.g. it's missing some ID registers

This revision was automatically updated to reflect the committed changes.