Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86: Support capability-wide MSRs #116

Open
bsdjhb opened this issue Oct 3, 2023 · 0 comments
Open

x86: Support capability-wide MSRs #116

bsdjhb opened this issue Oct 3, 2023 · 0 comments

Comments

@bsdjhb
Copy link
Collaborator

bsdjhb commented Oct 3, 2023

In place of the the current capability control registers in version 9, CHERI-x86 should selectively extend certain MSRs to hold capabilities. This would require new variants of RDMSR and WRMSR (presumably named RDMSRX and WRMSRX) that would store the MSR value in CAX rather than EAX:EDX. This would be useful even for 64-bit MSRs which would use a NULL-derived MSR value in CAX.

This provides a natural base on which to describe CHERI extensions for FRED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant