Page MenuHomeFreeBSD

arm64: Fix the capitalization of CurrentEL
ClosedPublic

Authored by andrew on Aug 25 2026, 2:37 PM.
Tags
None
Referenced Files
F174999636: D59180.diff
Wed, Oct 7, 1:09 PM
Unknown Object (File)
Tue, Oct 6, 8:30 AM
Unknown Object (File)
Sat, Oct 3, 10:46 PM
Unknown Object (File)
Sat, Oct 3, 9:01 PM
Unknown Object (File)
Fri, Oct 2, 11:12 PM
Unknown Object (File)
Fri, Oct 2, 4:04 AM
Unknown Object (File)
Fri, Oct 2, 1:14 AM
Unknown Object (File)
Thu, Oct 1, 4:05 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.