Skip to content

Commit

Permalink
Minor improvements in riscv-hybrid-integration chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
francislaus committed Dec 6, 2024
1 parent e31f384 commit 8afb39b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/riscv-hybrid-integration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ used to authorize all data memory accesses when in
{cheri_int_mode_name}.

The current CHERI execution mode is given by the <<m_bit>> field of <<pcc>> that
is encoded as described in xref:section-cheri-execution-mode[xrefstyle=short].
is encoded as described in xref:m_bit[xrefstyle=short].

The CHERI execution mode impacts the instruction set in the following ways:

Expand Down Expand Up @@ -55,7 +55,7 @@ Setting both registers to <<infinite-cap>> ensures that:
* The bounds authorize accesses to the entire address space i.e base is 0 and
top is 2^MXLEN^
[#m_bit,reftext="M-bit"]
[#m_bit,reftext="CHERI Execution Mode Encoding"]
=== CHERI Execution Mode Encoding

{cheri_default_ext_name} adds a new CHERI execution Mode field (M) to
Expand Down Expand Up @@ -172,7 +172,7 @@ The unconditional jump instructions change behavior depending on the CHERI
execution mode although the instruction's encoding remains unchanged.

The jump and link instruction <<JAL>> when the CHERI execution mode is
Capability; behaves as described in
{cheri_cap_mode_name}; behaves as described in
xref:section_existing_riscv_insns[xrefstyle=short].
When the mode is {cheri_int_mode_name}. In this case, the address of the instruction
following the jump (*pc* + 4) is written to an *x* register; that register's
Expand Down

0 comments on commit 8afb39b

Please sign in to comment.