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)
Wed, Sep 16, 1:45 PM
Unknown Object (File)
Tue, Sep 15, 4:20 PM
Unknown Object (File)
Tue, Sep 8, 12:13 PM
Unknown Object (File)
Wed, Sep 2, 5:05 PM
Unknown Object (File)
Mon, Aug 31, 3:52 PM
Unknown Object (File)
Thu, Aug 27, 3:09 AM
Unknown Object (File)
Tue, Aug 25, 10:58 PM
Unknown Object (File)
Fri, Aug 21, 4:07 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18463
Build 18168: arc lint + arc unit