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)
Mar 10 2024, 1:06 PM
Unknown Object (File)
Jan 19 2024, 7:02 AM
Unknown Object (File)
Dec 23 2023, 2:29 AM
Unknown Object (File)
Nov 29 2023, 2:48 AM
Unknown Object (File)
Nov 28 2023, 8:09 PM
Unknown Object (File)
Nov 25 2023, 3:25 AM
Unknown Object (File)
Nov 25 2023, 3:24 AM
Unknown Object (File)
Nov 22 2023, 12:53 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

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

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.