Skip to content

Commit

Permalink
Added instruction and CSR appendixes to CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
james-ball-qualcomm committed Oct 2, 2024
1 parent 36d8afc commit dfc6c6d
Show file tree
Hide file tree
Showing 7 changed files with 318 additions and 118 deletions.
8 changes: 2 additions & 6 deletions arch/csc_crd/MC-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,8 @@ MC-1:
const: 0
#XXX optional: {} # None
optional:
- name: B
note: "This is just for testing. B isn't really optional for MC-1."
param_constraints:
MUTABLE_MISA_B:
schema:
const: false
- name: Zifencei
note: "This is just for testing. Zifencei extension isn't really optional for MC-1."

requirement_groups:
- name: MC-Unpriv
Expand Down
1 change: 1 addition & 0 deletions arch/csr/mstatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -485,4 +485,5 @@ mstatus:
* When 1, (H)S-mode interrupts that are not otherwise disabled with a field in `sie` are enabled.
type: RW-H
definedBy: S
reset_value: UNDEFINED_LEGAL
10 changes: 9 additions & 1 deletion arch/ext/Sm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,15 @@ Sm:
interrupt-pending registers is not immediate.
- Clarified that MXR affects only explicit memory accesses.
description: |
TODO
This chapter describes the machine-level operations available in machine-mode (M-mode), which is
the highest privilege mode in a RISC-V hart. M-mode is used for low-level access to a hardware
platform and is the first mode entered at reset. M-mode can also be used to implement features that
are too difficult or expensive to implement in hardware directly. The RISC-V machine-level ISA
contains a common core that is extended depending on which other privilege levels are supported and
other details of the hardware implementation.
This chapter describes the RISC-V machine-level architecture, which
contains a common core that is used with various supervisor-level
address translation and protection schemes.
interrupt_codes:
- num: 1
name: Supervisor software interrupt
Expand Down
76 changes: 0 additions & 76 deletions arch/ext/pmpaddr3.yaml

This file was deleted.

Loading

0 comments on commit dfc6c6d

Please sign in to comment.