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)
Tue, Dec 3, 9:56 PM
Unknown Object (File)
Nov 26 2024, 4:27 PM
Unknown Object (File)
Nov 26 2024, 1:23 PM
Unknown Object (File)
Nov 20 2024, 3:23 AM
Unknown Object (File)
Sep 30 2024, 1:05 AM
Unknown Object (File)
Sep 30 2024, 1:04 AM
Unknown Object (File)
Sep 30 2024, 1:04 AM
Unknown Object (File)
Sep 30 2024, 1:04 AM
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.