Skip to content

Commit

Permalink
Merge pull request #19 from Timmmm/user/timh/infinite_cap_bits
Browse files Browse the repository at this point in the history
Specify value of mode bit in null/infinite caps
  • Loading branch information
andresag01 authored Jan 24, 2024
2 parents 3ad0a46 + b84aae8 commit 306bf5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cap-description.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,11 @@ or 'root' capability.
| B | zeros | Base address bits
| B~E~ | zeros | Exponent bits
| Address | zeros | Capability address
| Reserved| zeros | All reserved fields
|==============================================================================

.Field values of the Infinite capability
[#infinite-cap,reftext="Infinity"]
[#infinite-cap,reftext="Infinite"]
[options=header,width="100%",align=center,width="55%",cols="1,1,3"]
|==============================================================================
| Field | Value | Comment
Expand All @@ -476,6 +477,7 @@ or 'root' capability.
| B | zeros | Base address bits
| B~E~ | zeros | Exponent bits
| Address | zeros | Capability address
| Reserved| zeros | All reserved fields
|==============================================================================

[#section_cap_representable_check]
Expand Down Expand Up @@ -520,4 +522,3 @@ bits!

Capabilities with malformed bounds are always invalid anywhere in the system
i.e. their tags are always 0.

2 changes: 2 additions & 0 deletions src/riscv-mode-integration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ include::img/cap-encoding-xlen64-mode.edn[]
not grant <<x_perm>>. In this case, the M bit is superfluous, so the encoding
may be used to support additional features in future extensions.

The M bit is 0 in both the <<null-cap>> and <<infinite-cap>> capabilities.

[#section_mode_cap_instructions]
=== Zcheri_mode Instructions

Expand Down

0 comments on commit 306bf5c

Please sign in to comment.