Page MenuHomeFreeBSD

Support reading from the arm64 ID registers from userspace
ClosedPublic

Authored by andrew on Jul 31 2018, 6:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 4, 1:57 PM
Unknown Object (File)
Sat, Apr 4, 12:49 PM
Unknown Object (File)
Thu, Mar 26, 7:15 AM
Unknown Object (File)
Tue, Mar 24, 8:49 AM
Unknown Object (File)
Mon, Mar 23, 7:11 AM
Unknown Object (File)
Mon, Mar 16, 7:09 AM
Unknown Object (File)
Feb 23 2026, 9:05 AM
Unknown Object (File)
Feb 22 2026, 1:26 PM

Details

Summary

Trap reads to the arm64 ID registers and write a safe value into them.
This will allow us to put more useful values in these later and have
userland check them to find what features the hardware supports.

Test Plan

Tested with https://github.com/zxombie/arm64id to read the registers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable