Page MenuHomeFreeBSD

Export ID_AA64PFR0_EL1 to userland
ClosedPublic

Authored by andrew on Sep 24 2018, 12:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 15, 4:08 AM
Unknown Object (File)
Tue, Feb 11, 4:15 AM
Unknown Object (File)
Sun, Jan 19, 10:17 PM
Unknown Object (File)
Jan 4 2025, 10:44 AM
Unknown Object (File)
Dec 31 2024, 2:09 AM
Unknown Object (File)
Dec 3 2024, 9:56 PM
Unknown Object (File)
Nov 26 2024, 4:27 PM
Unknown Object (File)
Nov 26 2024, 1:23 PM
Subscribers

Details

Summary

Move the undefined instruction handler to identcpu.c so we have access
to the registers read on boot.

Use these to set the fields on the value of the ID_AA64PFR0_EL1 register
we export to userspace.

Test Plan

Read the registers with https://github.com/zxombie/arm64id

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19772
Build 19326: arc lint + arc unit

Event Timeline

Cleanup a few magic numbers

Rename safe_values to user_regs as it doesn't hold values anymore

This revision was not accepted when it landed; it landed in state Needs Review.Sep 27 2018, 1:51 PM
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state Needs Review.Sep 27 2018, 1:54 PM
This revision was automatically updated to reflect the committed changes.