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

Add POINTER_MASKING_PMLEN to the SBI FWFT extension #161

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/ext-firmware-features.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ the features which supervisor-mode software may request to set or get.
supervisor-mode.
| 0x00000004 | PTE_AD_HW_UPDATING | Control hardware updating of PTE A/D
bits for supervisor-mode.
| 0x00000005 -
| 0x00000005 | POINTER_MASKING_PMLEN | Control the pointer masking tag
length for supervisor-mode.
| 0x00000006 -
0x3fffffff | | Local feature types reserved for
future use.
| 0x40000000 -
Expand Down Expand Up @@ -92,6 +94,13 @@ description. Upon system reset, global and local feature values are reset.
! 0 ! Disable hardware updating of PTE A/D bits for supervisor-mode.
! 1 ! Enable hardware updating of PTE A/D bits for supervisor-mode.
!===
| POINTER_MASKING_PMLEN | 0 | Local |
[cols="1,4"]
!===
! 0 ! Disable pointer masking for supervisor-mode.
! N ! Enable pointer masking for supervisor-mode with PMLEN >= N.
A call to `sbi_fwft_get()` returns the actual value of PMLEN.
!===
|===

=== Function: Firmware Features Set (FID #0)
Expand Down
Loading