diff --git a/docs/spec/isa.mdx b/docs/spec/isa.mdx deleted file mode 100644 index 565721a18..000000000 --- a/docs/spec/isa.mdx +++ /dev/null @@ -1,51 +0,0 @@ ---- -id: isa -title: ISA Manuals -sidebar_position: 4 -hide_table_of_contents: true ---- - -import siteConfig from '@site/docusaurus.config'; - -## Instruction Set (ISA) Manual's - -These are the current ratified versions of the ISA specifications. Previously published versions and the original ratification specifications for included extensions can be found on the [RISC-V Technical Specifications Archive page](https://lf-riscv.atlassian.net/wiki/spaces/HOME/pages/16154899/RISC-V+Technical+Specifications+Archive). - - - - - -

ISA Volume I

-
- - Unprivileged Architecture - - - - - - -
-
- - - - -

Volume II

-
- - Privileged Architecture - - - - - - -
-
-
- ---- -:::note -Extensions that are ratified, but not yet included in the full specifications, can be found on the [RISC-V Ratified Extensions](https://lf-riscv.atlassian.net/wiki/spaces/HOME/pages/16154732/Ratified+Extensions) page. -::: diff --git a/docs/spec/isa1.mdx b/docs/spec/isa1.mdx new file mode 100644 index 000000000..392659a1e --- /dev/null +++ b/docs/spec/isa1.mdx @@ -0,0 +1,67 @@ +# The RISC-V Instruction Set Manual Volume I: Unprivileged ISA + +Volume I of the RISC-V ISA describes the architecture of the users mode (space). + +*Latest version: 20250508 Date: May 2025* + +[HTML](https://developer.riscv.org/docs/reference/isa/unpriv/unpriv-index.html) |

[PDF](https://drive.google.com/file/d/1uviu1nH-tScFfgrovvFCrj7Omv8tFtkp/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Unprivileged Horizontal Committee](https://lists.riscv.org/g/tech-unprivileged) | +| :---- | :---- | +| **Source:** | [riscv/riscv-isa-manual](https://github.com/riscv/riscv-isa-manual/) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 20250508 | May 2025 | [HTML](https://developer.riscv.org/docs/reference/isa/unpriv/unpriv-index.html), [PDF](https://drive.google.com/file/d/1uviu1nH-tScFfgrovvFCrj7Omv8tFtkp/view?usp=drive_link) | +| 20240411 | April 2024 | [PDF](https://drive.google.com/file/d/1vI_P4f0kxzpJ6P1wQF9eRSvBmtcnGJkq/view?usp=drive_link) | +| 20191213 | Dec. 2019 | [PDF](https://drive.google.com/file/d/1s0lZxUZaa7eV_O0_WsZzaurFLLww7ou5/view?usp=drive_link) | +| 2.2 (Creative Commons) | May 2017 | [PDF](https://github.com/riscv/riscv-isa-manual/blob/eb86a900f418a5436b8e31abc0563be3cb402a16/release/riscv-spec-v2.2.pdf) | +| 2.1 | May 2016 | [PDF](https://github.com/riscv/riscv-isa-manual/blob/eb86a900f418a5436b8e31abc0563be3cb402a16/release/riscv-spec-v2.1.pdf) | +| 2.0 | May 2014 | [PDF](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-54.pdf) | +| Original | May 2011 | [PDF](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2011/EECS-2011-62.pdf) | + +# **Pending Updates** + +No extensions have been ratified but not included in a published specification. + +# **Archived Ratifications** + +The following documents were ratified and are included in the latest published specification. + +| | Ratified | New extension(s) or Profile(s) | +| :---- | :---: | :---- | + +| | Ratified | New extension(s) or Profile(s) | +| :---- | :---: | :---- | +| **Load/Store Pair for RV32 (Zilsd & Zclsd)**

[PDF](https://drive.google.com/file/d/1oMMxKJSuNKNcjiZdJEPeUqOCxr8VcxCn/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-zilsd) | February 2025 | Zilsd, Zclsd | +| **Shadow Stacks and Landing Pads**

[PDF](https://drive.google.com/file/d/1k8zkQAlfe8hjjqk3903N9tig5YId1-7S/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-cfi) | June 2024 | Zicfiss, Zicfilp | +| **BF16 Extensions**

[PDF](https://drive.google.com/file/d/1iwlVykLz2TuYsGLnMgNwGk4W58vdGBmc/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-bfloat16) | June 2024 | Zfbfmin, Zvfbfmin, Zvfbfwma | +| **Zaamo and Zalrsc Extensions**

[PDF](https://drive.google.com/file/d/1y2jMvCgnlPhFIe_MKv6NvSzxS-Jduz76/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-zaamo-zalrsc) | April 2024 | Zaamo, Zalrsc | +| **B Standard Extension for Bit Manipulation Instructions**

[PDF](https://drive.google.com/file/d/1SgLoasaBjs5WboQMaU3wpHkjUwV71UZn/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-b) | April 2024 | B | +| **Byte and Halfword Atomic Memory Operations (Zabha)**

[PDF](https://drive.google.com/file/d/1OnM4q3BnAJ_HuGfuzVB7CSpbqZ5OVH8s/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-zabha) | April 2024 | Zabha | +| **May-Be-Operations**

[PDF](https://drive.google.com/file/d/17CxX1Fj6BpJH47AIk_hZo64wcj5LTjIk/view?usp=drive_link) | March 2024 | Zimop, Zcmop | +| **RISC-V Integer Conditional (Zicond) operations extension**

[PDF](https://drive.google.com/file/d/1ssWUkvSp_CCw6riw3ThSwJFKn4GH5QLM/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-zicond/releases/tag/v1.0.1) | November 2023 | Zicond | +| **Atomic Compare-and-Swap (CAS) Instructions (Zacas)**

[PDF](https://drive.google.com/file/d/1Bjfkepuh3m0V2EUqoUeGWQWfzJi9lpAp/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-zacas/releases/tag/v1.0) | November 2023 | Zacas | +| **RISC-V Cryptography Extensions Volume II: Vector Instructions**

[PDF](https://drive.google.com/file/d/1gb9OLH-DhbCgWp7VwpPOVrrY6f3oSJLL/view?usp=sharing) , [Source](https://github.com/riscv/riscv-crypto/releases/tag/v1.0.0) | September 2023 | Zvbb, Zvbc, Zvkb, Zvkg, Zvkn, Zvknc, Zvkned, Zvkng, Zvknha, Zvknhb, Zvks, Zvksc, Zvksed, Zvksg, Zvksh, Zvkt | +| **"Zfa" Standard Extension for Additional Floating-Point Instructions**

[PDF](https://drive.google.com/file/d/1VT6QIggpb59-8QRV266dEE4T8FZTxGq4/view?usp=sharing) | September 2023 | Zfa | +| **“Zvfh/Zvfhmin:” Vector Extension for Half-Precision Floating-Point Arithmetic/Vector Extension for Minimal Half-Precision Floating-Point Arithmetic**

[PDF](https://drive.google.com/file/d/1_Yt60HGAf1r1hx7JnsIptw0sqkBd9BQ8/view?usp=drive_link) | June 2023 | Zvfh, Zvfhmin | +| **“Zihintntl” Non-Temporal Locality Hints**

[PDF](https://drive.google.com/file/d/13_wsN8YmRfH8YWysFyTX-DjTkCnBd9hj/view?usp=share_link) | May 2023 | Zihintntl | +| **RISC-V Code Size Reduction**

[PDF](https://drive.google.com/file/d/1zmWDmfbtVY9I6hn0vuLTbk5rsSPc44sL/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-code-size-reduction/releases/tag/v1.0) | April 2023 | Zca, Zcb, Zcd, Zce, Zcf, Zcmp, Zcmt | +| **"Zicntr" and "Zihpm" Counters**

[PDF](https://drive.google.com/file/d/1qa57pePesOiDOrNzxuuGFhCL4Rbi9AYB/view?usp=share_link) | March 2023 | Zicntr, Zihpm | +| **RV32E and RV64E Base Integer Instruction Sets**

[PDF](https://drive.google.com/file/d/1GjHmphVKvJlOBJydAt36g0Oc8yCOPtKw/view?usp=share_link) | January 2023 | RV32E/RV64E | +| **“Ztso” Standard Extension for Total Store Ordering**

[PDF](https://drive.google.com/file/d/173BGJQLqtEzAAD5lV9uaLMMjS91WeAt7/view?usp=share_link) | January 2023 | Ztso | +| **RISC-V Wait-on-Reservation-Set (Zawrs) extension**

[PDF](https://drive.google.com/file/d/1wKk4dC_at8bFJRUwLR84fV3i1X9jwtAe/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-zawrs/releases/tag/v1.01) | November 2022 | Zawrs | +| **Zmmul Extension**

[PDF](https://drive.google.com/file/d/1v-mI2hikzI4swl0KNYPQ82VkTRt9uOPg/) | June 2022 | Zmmul | +| **RISC-V Base Cache Management Operation ISA Extensions**

[PDF](https://drive.google.com/file/d/1jfzhNAk7viz4t2FLDZ5z4roA0LBggkfZ/view?usp=drive_link) | November 2021 | Zicbom, Zicbop, Zicboz | +| **RISC-V Bit-Manipulation ISA-extensions**

[PDF](https://drive.google.com/file/d/11-dKxnp7yfl9L3HESXGCtYl90dFKGTzE/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-bitmanip/releases/tag/1.0.0) | November 2021 | Zba, Zbb, Zbc, Zbs | +| **RISC-V Cryptography Extensions Volume I: Scalar & Entropy Source Instructions**

[PDF](https://drive.google.com/file/d/1Thd010Eh2DqnhDHpDd3SM7Ame7KENkPw/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-crypto/releases/tag/v1.0.1-scalar) | November 2021 | Zbkb, Zbkc, Zbkx, Zknd, Zkne, Zknh, Zksed, Zksh, Zkn, Zks, Zkt, Zk, Zkr | +| **RISC-V Vector Extension**

[PDF](https://drive.google.com/file/d/1AQZ3l_EGeMa2NftMO562gVZ4vj61od2H/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-v-spec) | November 2021 | Zve32x, Zve32f, Zve64x, Zve64f, Zve64d, Zve, Zvl32b, Zvl64b, Zvl128b, Zvl256b, Zvl512b, Zvl1024b, Zvl, Zv | +| **"Zfh" and "Zfhmin" Standard Extensions for Half-Precision Floating-Point**

[PDF](https://drive.google.com/file/d/1z3tQQLm5ALsAD77PM0l0CHnapxWCeVzP/view?usp=sharing) | November 2021 | Zfh, Zfhmin | +| **"Zfinx", "Zdinx", "Zhinx", "Zhinxmin": Standard Extensions for Floating-Point in Integer Registers**

[PDF](https://drive.google.com/file/d/13nlRJq-kfAlKGKC7G_NR2RaJi3N2Xb6z/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-zfinx) | November 2021 | Zfinx, Zdinx, Zhinx, Zhinxmin | +| **“Zihintpause” Pause Hint** *[PDF*](https://drive.google.com/file/d/1WXT3TXZs0pwS9BgPoDesJQ61_0GVSQpZ/view?usp=drive_link) | February 2021 | Zihintpause | diff --git a/docs/spec/isa2.mdx b/docs/spec/isa2.mdx new file mode 100644 index 000000000..734d534ad --- /dev/null +++ b/docs/spec/isa2.mdx @@ -0,0 +1,65 @@ +# The RISC-V Instruction Set Manual Volume II: Privileged ISA + +Volume II of the RISC-V ISA describes the architecture of the supervisor and machine modes (space). + +*Latest version: 20250508 Date: May 2025* + +[HTML](https://developer.riscv.org/docs/reference/isa/priv/priv-index.html) | [PDF](https://drive.google.com/file/d/17GeetSnT5wW3xNuAHI95-SI1gPGd5sJ_/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Privileged Horizontal Committee](https://lists.riscv.org/g/tech-privileged) | +| :---- | :---- | +| **Source:** | [riscv/riscv-isa-manual](https://github.com/riscv/riscv-isa-manual/) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 20250508 | May 2025 | [HTML](https://developer.riscv.org/docs/reference/isa/priv/priv-index.html), [PDF](https://drive.google.com/file/d/17GeetSnT5wW3xNuAHI95-SI1gPGd5sJ_/view?usp=drive_link) | +| 20240411 | April 2024 | [PDF](https://drive.google.com/file/d/1RQRncRGhqcwiYJb5Bp9DiWbVXnSrEPvz/view?usp=drive_link) | +| 20211203 | December 2021 | [PDF](https://drive.google.com/file/d/1EMip5dZlnypTk7pt4WWUKmtjUKTOkBqh/view?usp=drive_link) | +| 1.11 | June 2019 | [PDF](https://drive.google.com/file/d/1ateuJOBQyL7d8Zbs_15G_O9C_NdAxxZe/view?usp=drive_link) | +| 1.10 | May 2017 | [PDF](https://github.com/riscv/riscv-isa-manual/blob/eb86a900f418a5436b8e31abc0563be3cb402a16/release/riscv-privileged-v1.10.pdf) | +| 1.9 | July 2016 | [PDF](https://github.com/riscv/riscv-isa-manual/blob/eb86a900f418a5436b8e31abc0563be3cb402a16/release/riscv-privileged-v1.9.pdf) | +| 1.7 | May 2015 | [PDF](https://github.com/riscv/riscv-isa-manual/blob/eb86a900f418a5436b8e31abc0563be3cb402a16/release/riscv-privileged-v1.7.pdf) | + +# **Pending Updates** + +The following extensions have been ratified but not yet included in a published specification. + +| | Ratified | New extension(s) | +| :---- | :---: | :---- | +| PTE Reserved-for-Software Bits 60-59

[PDF](https://drive.google.com/file/d/1l6Lq0oI152gd4YgBv0Hg-3YdoGRWPFjM/view?usp=sharing) , [Source](https://github.com/riscv/riscv-isa-manual/pull/2241) | August 2025 | Svrsw60t59b | +| *The RISC-V Debug Specification*

[PDF](https://drive.google.com/file/d/1h_f9NgB_8m2fS6uCnKP1Oho-3x1MpBEl/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-debug-spec) | February 2025 | Sdext, Sdtrig | +| *RISC-V Advanced Interrupt Architecture*

[PDF](https://drive.google.com/file/d/1joBC2hWGEHJL4tFabjcqMpRqQNkqJ5WR/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-aia) | June 2023 | Smaia, Ssaia | + +# **Archived Ratifications** + +The following documents were ratified and are included in the latest published specification. + +| | Ratified | New extension(s) or Profile(s) | +| :---- | :---: | :---- | + +| | Ratified | New extension(s) or Profile(s) | +| :---- | :---: | :---- | +| **RISC-V Control Transfer Records**

[PDF](https://drive.google.com/file/d/17P5RMSU3Ta-8sTdwr5dr-UyVEn13HWWN/view?usp=sharing) , [Source](https://github.com/riscv/riscv-control-transfer-records) | November 2024 | Smctr, Ssctr | +| **RISC-V Pointer Masking**

[PDF](https://drive.google.com/file/d/159QffOTbi3EEbdkKndYRZ2c46D25ZLmO/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-j-extension) | October 2024 | Smmpm, Smnpm, Ssnpm, Supm, Sspm | +| **The RISC-V Instruction Set Manual Volume II: Privileged Architecture (Priv 1.13) **

[PDF](https://drive.google.com/file/d/1GGwOGJvyV59g1YOko6ut__dVlKTCVthJ/view?usp=drive_link) | October 2024 | Sm1p13, Ss1p13 | +| **Double Trap**

[PDF](https://drive.google.com/file/d/1e5-3pUdh_UcVmKlwxO6KBNVHivMXGdOf/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-double-trap) | August 2024 | Ssdbltrp, Smdbltrp | +| **RISC-V Quality-of-Service (QoS) Identifiers**

[PDF](https://drive.google.com/file/d/1KO5iHq1g7dW3L6logUtY0vgTfQFBlg4V/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-ssqosid) | June 2024 | Ssqosid | +| **Obviating Memory-Management Instructions after Marking PTEs Valid**

[PDF](https://drive.google.com/file/d/1D1ZvAvSigDkazmRdpVE35IiPQpyj3J8D/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-svvptc) | June 2024 | Svvptc | +| **Resumable Non-Maskable Interrupts**

[PDF](https://drive.google.com/file/d/1tNQPe6kXFgI9FYmsn94G7X4zAA6cZGEo/view?usp=drive_link) | June 2024 | Smrnmi | +| **RISC-V Supervisor Counter Delegation**

[PDF](https://drive.google.com/file/d/1qFcNKToo8E2jjkubXi_70SclHuEzba5N/view?usp=drive_link) , [Source](https://github.com/riscv/riscv-smcdeleg-ssccfg/releases/tag/v1.0.0) | March 2024 | Smcdeleg, Ssccfg | +| **RISC-V Indirect CSR Access (Smcsrind/Sscsrind)**

[PDF](https://drive.google.com/file/d/17MxYRvoOiQqtdfSCPw_SskJtXVEbi1jR/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-indirect-csr-access/releases/tag/v1.0.0) | February 2024 | Smcsrind, Sscsrind | +| **Hardware Updating of PTE A/D Bits (Svadu)**

[PDF](https://drive.google.com/file/d/1-5kz8_9zg8wYcY-zyLdyBp8j12PuxmlG/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-svadu/releases/tag/v1.0) | November 2023 | Svadu | +| **RISC-V Cycle and Instret Privilege Mode Filtering (Smcntrpmf)**

[PDF](https://drive.google.com/file/d/1T33-7wnEo8Lar3n0k33ejW7_cROt0H0k/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-smcntrpmf/releases/tag/v1.0) | November 2023 | Smcntrpmf | +| **RISC-V Advanced Interrupt Architecture**

[PDF](https://drive.google.com/file/d/16life2Y5u7Plebbl4v1fFM1-NK-KHw0Y/view?usp=sharing) , [Source](https://github.com/riscv/riscv-aia/releases/tag/1.0) | June 2023 | Smaia, Ssaia | +| **PMP Enhancements for memory access and execution prevention on Machine mode (Smepmp)**

[PDF](https://drive.google.com/file/d/1karAdJDKYReW-TtOygh0JD5r65Pygx0e/view?usp=drive_link) | November 2021 | Smepmp | +| **RISC-V Privileged Architecture 1.12**

[PDF](https://drive.google.com/file/d/1EMip5dZlnypTk7pt4WWUKmtjUKTOkBqh/view?usp=drive_link) | November 2021 | Sm1p12, Ss1p12, Sv57, Hypervisor, Svinval, Svnapot, Svpbmt | +| **RISC-V Count Overflow and Mode-Based Filtering Extension**

[PDF](https://drive.google.com/file/d/1RiAIOVoN1E7bv6_kEzcgATkhbeUdqu5t/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-count-overflow/releases/tag/v0.5.2) | November 2021 | Sscofpmf | +| **RISC-V State Enable Extension**

[PDF](https://drive.google.com/file/d/1dhI6OzVbejQbfwyBTuwK9U4VUmW8ii4o/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-state-enable/releases/tag/v1.0.0) | November 2021 | Smstateen | +| **RISC-V "stimecmp / vstimecmp" Extension**

[PDF](https://drive.google.com/file/d/1O0ogDHijAc7gM58Byb0BRqIRGYsdOt2D/view?usp=drive_link) , [Source](https://github.com/riscvarchive/riscv-time-compare/releases/tag/v0.5.4) | November 2021 | Sstc | + diff --git a/docs/spec/non-isa/abi.md b/docs/spec/non-isa/abi.md index dcec61dd9..f16918e2a 100644 --- a/docs/spec/non-isa/abi.md +++ b/docs/spec/non-isa/abi.md @@ -4,8 +4,25 @@ id: abi hide_table_of_contents: true pdf: /pdf/riscv-abi.pdf --- +# RISC-V ABIs Specification Provides the processor-specific application binary interface document for RISC-V. - - \ No newline at end of file +*Latest version: 1.0 Date: November 2022* + +[PDF](https://drive.google.com/file/d/1Ja_Tpp_5Me583CGVD-BIZMlgGBnlKU4R/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Application & Tools Horizontal Committee](https://lists.riscv.org/g/apps-tools-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-elf-psabi-doc](https://github.com/riscv-non-isa/riscv-elf-psabi-doc) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | November 2022 | [PDF](https://drive.google.com/file/d/1Ja_Tpp_5Me583CGVD-BIZMlgGBnlKU4R/view?usp=drive_link) | + diff --git a/docs/spec/non-isa/advanced-interrupt.mdx b/docs/spec/non-isa/advanced-interrupt.mdx index 6b25477a3..ff9987f24 100644 --- a/docs/spec/non-isa/advanced-interrupt.mdx +++ b/docs/spec/non-isa/advanced-interrupt.mdx @@ -4,8 +4,24 @@ id: advanced-interrupt hide_table_of_contents: true pdf: /pdf/riscv-interrupts.pdf --- +# RISC-V Advanced Interrupt Architecture Describes an Advanced Interrupt Architecture for RISC-V systems. - - \ No newline at end of file +*Latest version: 1.0 Date: June 2023* + +[PDF](https://drive.google.com/file/d/16life2Y5u7Plebbl4v1fFM1-NK-KHw0Y/view?usp=sharing) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv/riscv-aia](https://github.com/riscv/riscv-aia) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | June 2023 | [PDF](https://drive.google.com/file/d/16life2Y5u7Plebbl4v1fFM1-NK-KHw0Y/view?usp=sharing) | diff --git a/docs/spec/non-isa/brs.mdx b/docs/spec/non-isa/brs.mdx new file mode 100644 index 000000000..9ca0e8b61 --- /dev/null +++ b/docs/spec/non-isa/brs.mdx @@ -0,0 +1,27 @@ +--- +title: Boot and Runtime Services Specification +id: brs +hide_table_of_contents: true +pdf: /pdf/riscv-brs.pdf +--- +RISC-V Boot and Runtime Services Specification (BRS) + +Defines a standardized set of software capabilities, that portable system software, such as operating systems and hypervisors, can rely on being present in an implementation to utilize in acts of device discovery, OS boot and hand-off, system management, and other operations. + +*Latest version: 1.0 Date: August 2025* + +[PDF](https://drive.google.com/file/d/1ZvEa5AX3j7FXmXW5H1chIMVkyjJGmFmh/view?usp=sharing) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-brs](https://github.com/riscv-non-isa/riscv-brs) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | August 2025 | [PDF](https://drive.google.com/file/d/1ZvEa5AX3j7FXmXW5H1chIMVkyjJGmFmh/view?usp=sharing) | diff --git a/docs/spec/non-isa/debug-specification.md b/docs/spec/non-isa/debug-specification.md index 8ceb16534..cace320c1 100644 --- a/docs/spec/non-isa/debug-specification.md +++ b/docs/spec/non-isa/debug-specification.md @@ -4,8 +4,25 @@ id: debug hide_table_of_contents: true pdf: /pdf/riscv-debug-specification.pdf --- +# The RISC-V Debug Specification Outlines a standard architecture for debug support on RISC-V hardware platforms. This architecture allows a variety of implementations and tradeoffs, which is complementary to the wide range of RISC-V implementations. At the same time, this specification defines common interfaces to allow debugging tools and components to target a variety of hardware platforms based on the RISC-V ISA. - - \ No newline at end of file +*Latest version: 1.0 Date: February 2025* + +[PDF](https://drive.google.com/file/d/1h_f9NgB_8m2fS6uCnKP1Oho-3x1MpBEl/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv/tech-debug-spec](https://github.com/riscv/riscv-debug-spec) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | February 2025 | [PDF](https://drive.google.com/file/d/1h_f9NgB_8m2fS6uCnKP1Oho-3x1MpBEl/view?usp=drive_link) | +| 0.13.2 | May 2019 | [PDF](https://drive.google.com/file/d/1XSPqW3WIfflIMeuGJBxGTMOEyeuRAQ5F/view) | diff --git a/docs/spec/non-isa/efficient-trace.md b/docs/spec/non-isa/efficient-trace.md index a9ad2e2d7..c179ef745 100644 --- a/docs/spec/non-isa/efficient-trace.md +++ b/docs/spec/non-isa/efficient-trace.md @@ -4,8 +4,26 @@ id: efficient-trace hide_table_of_contents: true pdf: /pdf/riscv-trace-spec.pdf --- +# Efficient Trace for RISC-V Specifies the signals between the RISC-V core and the encoder, compressed branch trace algorithm, and the packet format used to encapsulate the compressed branch trace information to implement processor tracing. - - \ No newline at end of file +*Latest version: 2.0 Date: June 2022* + +[PDF](https://drive.google.com/file/d/1iijHsZB7YXW0A2HuuzHo5QTZSKrO_KbW/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/tech-trace-spec](https://github.com/riscv-non-isa/riscv-trace-spec) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 2.0 | June 2022 | [PDF](https://drive.google.com/file/d/1iijHsZB7YXW0A2HuuzHo5QTZSKrO_KbW/view?usp=drive_link) | +| 1.1.3 | November 2021 | [PDF](https://drive.google.com/file/d/1Py3VuqHl-AXUi1ZzXiljKHGWbDZ1aQ2t/view?usp=drive_link) | + diff --git a/docs/spec/non-isa/funtional-fixed-hardware.mdx b/docs/spec/non-isa/funtional-fixed-hardware.mdx index 8d1d2573e..54f6e1a34 100644 --- a/docs/spec/non-isa/funtional-fixed-hardware.mdx +++ b/docs/spec/non-isa/funtional-fixed-hardware.mdx @@ -4,8 +4,26 @@ id: functional-fixed hide_table_of_contents: true pdf: /pdf/riscv-ffh.pdf --- +# RISC-V Functional Fixed Hardware Specification Provides additional system specification for RISC-V systems which use Advanced Configuration and Power Interface (ACPI), specifically for some ACPI object fields of type “Resource Descriptor”. - - \ No newline at end of file +*Latest version: 1.0.1 Date: October 2024* + +[PDF](https://drive.google.com/file/d/1XzlA0LE4N5_47wJXsU3aqyD69pHGvdcL/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-acpi-ffh](https://github.com/riscv-non-isa/riscv-acpi-ffh) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0.1 | October 2024 | [PDF](https://drive.google.com/file/d/1XzlA0LE4N5_47wJXsU3aqyD69pHGvdcL/view?usp=drive_link) | +| 1.0 | January 2024 | | + diff --git a/docs/spec/non-isa/io-mapping-table.mdx b/docs/spec/non-isa/io-mapping-table.mdx index 001d4717a..0ae7b610d 100644 --- a/docs/spec/non-isa/io-mapping-table.mdx +++ b/docs/spec/non-isa/io-mapping-table.mdx @@ -4,8 +4,25 @@ id: io-mapping hide_table_of_contents: true pdf: /pdf/rimt-spec.pdf --- +# RISC-V IO Mapping Table Specification -Provides information about the RISC-V IOMMU and the relationship between the IO topology and the IOMMU in ACPI based RISC-V platforms. The RIMT identifies which components are behind IOMMU and how they are connected together. +Provides information about the RISC-V IOMMU and the relationship between the IO topology and the IOMMU in ACPI based RISC-V platforms. The RIMT identifies which components are behind IOMMU and how they are connected together. + +*Latest version: 1.0 Date: March 2025* + +[PDF](https://drive.google.com/file/d/1sxQ3iQ1l5Jgq9tukvGMnucRUvY16s8zN/view?usp=sharing) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-acpi-rimt](https://github.com/riscv-non-isa/riscv-acpi-rimt) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | March 2025 | [PDF](https://drive.google.com/file/d/1sxQ3iQ1l5Jgq9tukvGMnucRUvY16s8zN/view?usp=sharing) | - - \ No newline at end of file diff --git a/docs/spec/non-isa/iommu-architecture.mdx b/docs/spec/non-isa/iommu-architecture.mdx index 155d95934..4a0010eb6 100644 --- a/docs/spec/non-isa/iommu-architecture.mdx +++ b/docs/spec/non-isa/iommu-architecture.mdx @@ -4,8 +4,24 @@ id: iommu-architecture hide_table_of_contents: true pdf: /pdf/riscv-iommu.pdf --- +# RISC-V IOMMU Architecture Describes an Input-Output Memory Management Unit (IOMMU) that connects direct-memory-access-capable Input/Output (I/O) devices to system memory. - - \ No newline at end of file +*Latest version: 1.0 Date: June 2023* + +[PDF](https://drive.google.com/file/d/1kVapIJPXUUNFQv_yauCDgtWzMvpgh6C2/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-iommu](https://github.com/riscv-non-isa/riscv-iommu) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | June 2023 | [PDF](https://drive.google.com/file/d/1kVapIJPXUUNFQv_yauCDgtWzMvpgh6C2/view?usp=drive_link) | diff --git a/docs/spec/non-isa/n-trace.mdx b/docs/spec/non-isa/n-trace.mdx index e4fb683e8..c56c68e35 100644 --- a/docs/spec/non-isa/n-trace.mdx +++ b/docs/spec/non-isa/n-trace.mdx @@ -4,8 +4,24 @@ id: n-trace hide_table_of_contents: true pdf: /pdf/RISC-V-N-Trace.pdf --- +# RISC-V N-Trace (Nexus-based Trace) -Implements the IEEE-5001 Nexus Standard tailored to support the trace of RISC-V ISA cores, harts and SoC/MCU designs. +Implements the IEEE-5001 Nexus Standard tailored to support the trace of RISC-V ISA cores, harts and SoC/MCU designs. ISA. - - \ No newline at end of file +*Latest version: 1.0 Date: November 2024* + +[PDF](https://drive.google.com/file/d/1UXFptcTjd5akPhKRtn0onBC6t53O61qU/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa](https://github.com/riscv-non-isa)[/tg-nexus-trace](https://github.com/riscv-non-isa/tg-nexus-trace) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | November 2024 | [PDF](https://drive.google.com/file/d/1UXFptcTjd5akPhKRtn0onBC6t53O61qU/view?usp=drive_link) | diff --git a/docs/spec/non-isa/platform-level-interrupt-controller.mdx b/docs/spec/non-isa/platform-level-interrupt-controller.mdx index a3aa0955d..9bbcd4e09 100644 --- a/docs/spec/non-isa/platform-level-interrupt-controller.mdx +++ b/docs/spec/non-isa/platform-level-interrupt-controller.mdx @@ -5,7 +5,24 @@ hide_table_of_contents: true pdf: /pdf/riscv-plic-1.0.0.pdf --- +# RISC-V Platform-Level Interrupt Controller + Delineates the operational parameters for a platform-level interrupt controller on RISC-V. - - \ No newline at end of file +*Latest version: 1.0.0 Date: February 2023* + +[PDF](https://drive.google.com/file/d/1at94PNJl4v2eAsKIwKOsZWBxsVcY2U2F/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv/riscv-plic-spec](https://github.com/riscv/riscv-plic-spec) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0.0 | February 2023 | [PDF](https://drive.google.com/file/d/1at94PNJl4v2eAsKIwKOsZWBxsVcY2U2F/view?usp=drive_link) | diff --git a/docs/spec/non-isa/qos-interface.md b/docs/spec/non-isa/qos-interface.md index 4d4b714f4..051a4d7a9 100644 --- a/docs/spec/non-isa/qos-interface.md +++ b/docs/spec/non-isa/qos-interface.md @@ -5,15 +5,24 @@ id: qos hide_table_of_contents: true pdf: /pdf/riscv-cbqri.pdf --- +# RISC-V Capacity and Bandwidth QoS Register Interface -Specifies: -- QoS identifiers to identify workloads that originate requests to the shared resources. -- Access-type identifiers to accompany request to access a shared resource to allow differentiated treatment of each access-type. -- Register interface for capacity allocation in controllers such as shared caches, directories, etc. -- Register interface for capacity usage monitoring. -- Register interface for bandwidth allocation in controllers such as interconnect and memory -controllers. -- Register interface for bandwidth usage monitoring. - - - +Specifies the signals between the RISC-V core and the encoder, compressed branch trace algorithm, and the packet format used to encapsulate the compressed branch trace information to implement processor tracing. + +*Latest version: 1.0 Date: June 2024* + +[PDF](https://drive.google.com/file/d/1XSKqg6MXEmRdpdUYLj-Q03kZD6TDQhtu/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-cbqri](https://github.com/riscv-non-isa/riscv-cbqri) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | June 2024 | [PDF](https://drive.google.com/file/d/1XSKqg6MXEmRdpdUYLj-Q03kZD6TDQhtu/view?usp=drive_link) | diff --git a/docs/spec/non-isa/reri-architecture.mdx b/docs/spec/non-isa/reri-architecture.mdx index 0fec7211b..d4a57a82e 100644 --- a/docs/spec/non-isa/reri-architecture.mdx +++ b/docs/spec/non-isa/reri-architecture.mdx @@ -5,7 +5,25 @@ hide_table_of_contents: true pdf: /pdf/riscv-reri.pdf --- +# RISC-V RERI Architecture Specification + Augments Reliability, Availability, and Serviceability (RAS) features in the SoC with a standard mechanism for reporting errors by means of a memory-mapped register interface to enable error reporting. Additionally, this specification supports software-initiated error logging, reporting, and testing of RAS handlers. Lastly, this specification provides maximal flexibility to implement error handling and coexists with RAS frameworks defined by other standards such as PCIe and CXL. - - \ No newline at end of file +*Latest version: 1.0 Date: May 2024* + +[PDF](https://drive.google.com/file/d/19gMRFbWDrfDZKyqoO3iFkySPvKpxm26a/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-ras-eri](https://github.com/riscv-non-isa/riscv-ras-eri) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | May 2024 | [PDF](https://drive.google.com/file/d/19gMRFbWDrfDZKyqoO3iFkySPvKpxm26a/view?usp=drive_link) | + diff --git a/docs/spec/non-isa/rpmi.mdx b/docs/spec/non-isa/rpmi.mdx new file mode 100644 index 000000000..48f767afa --- /dev/null +++ b/docs/spec/non-isa/rpmi.mdx @@ -0,0 +1,28 @@ +--- +title: Platform Management Interface Specification (RPMI) +id: rpmi +# hide_table_of_contents: true +# pdf: /pdf/rpmi.pdf +--- + +# RISC-V Platform Management Interface Specification (RPMI) + +Describes an OS-agnostic, firmware-agnostic, scalable and extensible interface for platform management and control from dedicated microcontrollers (also referred to as platform microcontroller or PuC). + +*Latest version: 1.0 Date: July 2025* + +[PDF](https://drive.google.com/file/d/1DeN7MZcH4ER7dTIQnmCjTx2PafxkuGVU/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-rpmi](https://github.com/riscv-non-isa/riscv-rpmi) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | July 2025 | [PDF](https://drive.google.com/file/d/1DeN7MZcH4ER7dTIQnmCjTx2PafxkuGVU/view?usp=drive_link) | diff --git a/docs/spec/non-isa/semihosting.mdx b/docs/spec/non-isa/semihosting.mdx index d8efa90a2..7a0e680d3 100644 --- a/docs/spec/non-isa/semihosting.mdx +++ b/docs/spec/non-isa/semihosting.mdx @@ -4,8 +4,25 @@ id: semihosting hide_table_of_contents: true pdf: /pdf/riscv-semihosting.pdf --- +# RISC-V Semihosting Defines the semihosting binary interface for RISC-V platforms. - - \ No newline at end of file +*Latest version: 1.0 Date: February 2025* + +[PDF](https://drive.google.com/file/d/1qu74D4_EmjGmc03qzfQ7Pf4g6m0fOtcD/view?usp=sharing) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-semihosting](https://github.com/riscv-non-isa/riscv-semihosting) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | February 2025 | [PDF](https://drive.google.com/file/d/1qu74D4_EmjGmc03qzfQ7Pf4g6m0fOtcD/view?usp=sharing) | + diff --git a/docs/spec/non-isa/server-soc.mdx b/docs/spec/non-isa/server-soc.mdx index e6139983b..494a73c18 100644 --- a/docs/spec/non-isa/server-soc.mdx +++ b/docs/spec/non-isa/server-soc.mdx @@ -4,8 +4,25 @@ id: server-soc hide_table_of_contents: true pdf: /pdf/riscv-server-soc.pdf --- +# RISC-V Server SOC Defines a standardized set of capabilities that portable system software such as operating systems and hypervisors, can rely on being present in a RISC-V server SoC. - - \ No newline at end of file +*Latest version: 1.0 Date: February 2025* + +[PDF](https://drive.google.com/file/d/1KjewRE0NltEmbKOz7YlgOsTF51lZ6aPL/view?usp=sharing) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv/riscv-plic-spec](https://github.com/riscv/riscv-plic-spec) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | February 2025 | [PDF](https://drive.google.com/file/d/1KjewRE0NltEmbKOz7YlgOsTF51lZ6aPL/view?usp=sharing) | + diff --git a/docs/spec/non-isa/supervisor-binary-interface.mdx b/docs/spec/non-isa/supervisor-binary-interface.mdx index 63e816ea2..a6caaddd3 100644 --- a/docs/spec/non-isa/supervisor-binary-interface.mdx +++ b/docs/spec/non-isa/supervisor-binary-interface.mdx @@ -4,8 +4,32 @@ id: sbi hide_table_of_contents: true pdf: /pdf/riscv-sbi_v2.pdf --- +# RISC-V Supervisor Binary Interface Specification -Second publication of the RISC-V Supervisor Binary Interface specification. It added a debug console, system suspend, nested acceleration, steal-time accounting, PMU snapshot, and various error codes; relaxed counter width requirements on PMU firmware counters; reserved space for firmware events; and clarified several extensions. +The RISC-V Supervisor Binary Interface, allows supervisor-mode (S-mode or VS-mode) software to be portable across all RISC-V implementations by defining an abstraction for platform (or hypervisor) specific functionality. The design of the SBI follows the general RISC-V philosophy of having a small core along with a set of optional modular extensions. - - \ No newline at end of file +Version 3.0 adds PMU event information and base event type; new extensions for MPXY, DBTR, FWFT, and SSE; additional error codes; and clarifications in the set\_timer function and IPI and RFENCE error codes. + +Version 2.0 added a debug console, system suspend, nested acceleration, steal-time accounting, PMU snapshot, and various error codes; relaxed counter width requirements on PMU firmware counters; reserved space for firmware events; and clarified several extensions. + +*Latest version: 3.0 Date: July 2025* + +[PDF](https://drive.google.com/file/d/1RHY5Gj0cDSrY5BlK6pGblZt03fDRF2-g/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-sbi-doc](https://github.com/riscv-non-isa/riscv-sbi-doc/) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 3.0 | July 2025 | [PDF](https://drive.google.com/file/d/1RHY5Gj0cDSrY5BlK6pGblZt03fDRF2-g/view?usp=drive_link) | +| 2.0.0 | January 2024 | [PDF](https://drive.google.com/file/d/1U2kwjqxXgDONXk_-ZDTYzvsV-F_8ylEH/view?usp=drive_link) | +| 1.0.0 | May 2022 | [PDF](https://drive.google.com/file/d/1LdnP5dDyc8wqLPujUqH8hIiTGKndujng/view?usp=drive_link) | + + diff --git a/docs/spec/non-isa/trace-connectors.mdx b/docs/spec/non-isa/trace-connectors.mdx index 4e6dcbf83..289726dd0 100644 --- a/docs/spec/non-isa/trace-connectors.mdx +++ b/docs/spec/non-isa/trace-connectors.mdx @@ -5,7 +5,24 @@ hide_table_of_contents: true pdf: /pdf/RISC-V-Trace-Connectors.pdf --- -Adds trace signals to connectors described in [RISC-V External Debug Support](./debug) and provides a small, optional extension to connectors described in and MIPI Debug & Trace Connectors Recommendations White Paper, Version 1.20, 2 July 2021. +# RISC-V Trace Connectors - - \ No newline at end of file +Adds trace signals to connectors described in [RISC-V External Debug Support](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926674) and provides a small, optional extension to connectors described in and MIPI Debug & Trace Connectors Recommendations White Paper, Version 1.20, 2 July 2021\. + +*Latest version: 1.0 Date: November 2024* + +[PDF](https://drive.google.com/file/d/1SMypv0CUL338L-sURMyJuO60WZ7oDi9V/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa](https://github.com/riscv-non-isa)[/tg-nexus-trace](https://github.com/riscv-non-isa/tg-nexus-trace) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | November 2024 | [PDF](https://drive.google.com/file/d/1SMypv0CUL338L-sURMyJuO60WZ7oDi9V/view?usp=drive_link) | diff --git a/docs/spec/non-isa/trace-control.mdx b/docs/spec/non-isa/trace-control.mdx index ad4116f73..b329ed31e 100644 --- a/docs/spec/non-isa/trace-control.mdx +++ b/docs/spec/non-isa/trace-control.mdx @@ -4,8 +4,24 @@ id: trace-control-interface hide_table_of_contents: true pdf: /pdf/RISC-V-Trace-Control-Interface.pdf --- +# RISC-V Trace Control Interface -Presents a standardized control interface for RISC-V trace infrastructure (such as trace encoders, trace funnels, trace sinks) for the [Efficient Trace for RISC-V specification](./efficient-trace) and for the [RISC-V N-Trace (Nexus-based Trace)](./n-trace) specification. Standardized control interface allows trace control software development tools to be used interchangeably with any RISC-V device implementing processor and/or data trace. +Presents a standardized control interface for RISC-V trace infrastructure (such as trace encoders, trace funnels, trace sinks) for the [Efficient Trace for RISC-V](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926657) specification and for the [RISC-V N-Trace (Nexus-based Trace)](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926691) specification. Standardized control interface allows trace control software development tools to be used interchangeably with any RISC-V device implementing processor and/or data trace. - - \ No newline at end of file +*Latest version: 1.0 Date: November 2024* + +[PDF](https://drive.google.com/file/d/1ZQvU1WNamY5EHGum4yP1z-WmPrcxH2b8/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa](https://github.com/riscv-non-isa)[/tg-nexus-trace](https://github.com/riscv-non-isa/tg-nexus-trace) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | November 2024 | [PDF](https://drive.google.com/file/d/1ZQvU1WNamY5EHGum4yP1z-WmPrcxH2b8/view?usp=drive_link) | diff --git a/docs/spec/non-isa/uefi-protocol.mdx b/docs/spec/non-isa/uefi-protocol.mdx index a60a1b3f6..77dee0c6e 100644 --- a/docs/spec/non-isa/uefi-protocol.mdx +++ b/docs/spec/non-isa/uefi-protocol.mdx @@ -4,8 +4,24 @@ id: uefi hide_table_of_contents: true pdf: /pdf/RISCV_UEFI_PROTOCOL-spec.pdf --- +# RISC-V UEFI Protocol Specification Details all new UEFI protocols required only for RISC-V platforms. - - \ No newline at end of file +*Latest version: 1.0.0 Date: May 2022* + +[PDF](https://drive.google.com/file/d/1rbQDRkoeJyqTKTI6tTCKw8zmh7T9dLUZ/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Privileged Software Horizontal Committee](https://lists.riscv.org/g/privileged-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/riscv-uefi](https://github.com/riscv-non-isa/riscv-uefi/) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0.0 | May 2022 | [PDF](https://drive.google.com/file/d/1rbQDRkoeJyqTKTI6tTCKw8zmh7T9dLUZ/view?usp=drive_link) | diff --git a/docs/spec/non-isa/unformatter-trace.mdx b/docs/spec/non-isa/unformatter-trace.mdx index d9ed8bdc2..9444c907c 100644 --- a/docs/spec/non-isa/unformatter-trace.mdx +++ b/docs/spec/non-isa/unformatter-trace.mdx @@ -4,8 +4,25 @@ id: unformatted-trace hide_table_of_contents: true pdf: /pdf/e-trace-encap.pdf --- +# Unformatted Trace & Diagnostic Data Packet Encapsulation for RISC-V Defines an encapsulation format suitable for use with a variety of transport mechanisms, including but not limited to AMBA Advanced Trace Bus (ATB) and Siemens' Messaging Infrastructure. - - \ No newline at end of file +*Latest version: 1.0 Date: June 2024* + +[PDF](https://drive.google.com/file/d/1R-_koXIpdb9_qW6jpz74TSnNXOfJGhfn/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [SOC Infrastructure Horizontal Committee](https://lists.riscv.org/g/soc-infra) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/e-trace-encap](https://github.com/riscv-non-isa/e-trace-encap) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | June 2024 | [PDF](https://drive.google.com/file/d/1R-_koXIpdb9_qW6jpz74TSnNXOfJGhfn/view?usp=drive_link) | + diff --git a/docs/spec/non-isa/vector-c.mdx b/docs/spec/non-isa/vector-c.mdx new file mode 100644 index 000000000..cddb7b84f --- /dev/null +++ b/docs/spec/non-isa/vector-c.mdx @@ -0,0 +1,29 @@ +--- +title: Vector C Intrinsic Specification +id: vector-c +# hide_table_of_contents: true +# pdf: /pdf/vector-c.pdf +--- + +# RISC-V Vector C Intrinsic Specification + +Provide user interfaces in the C language level to directly leverage the RISC-V Vector Extensions with assistance from the compiler in handling instruction scheduling and register allocation. The intrinsics also free users from responsibility of maintaining the correct configuration settings for the vector instruction executions. + +*Latest version: 1.0 Date: April 2025* + +[PDF](https://drive.google.com/file/d/1RTZi2iOLKzqaX95JCCnzwOm7iCIN3JEq/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Application & Tools Horizontal Committee](https://lists.riscv.org/g/apps-tools-software) | +| :---- | :---- | +| **Source:** | [riscv-non-isa/rvv-intrinsic-doc](https://github.com/riscv-non-isa/rvv-intrinsic-doc) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | April 2025 | [PDF](https://drive.google.com/file/d/1RTZi2iOLKzqaX95JCCnzwOm7iCIN3JEq/view?usp=drive_link) | + diff --git a/docs/spec/profiles.mdx b/docs/spec/profiles.mdx deleted file mode 100644 index 2c9c2c62e..000000000 --- a/docs/spec/profiles.mdx +++ /dev/null @@ -1,60 +0,0 @@ ---- -id: profiles -title: Profiles -# sidebar_class_name: hidden -hide_table_of_contents: true ---- -import siteConfig from '@site/docusaurus.config'; - -## Profiles -These are the current, published versions of the Profiles specifications. -These are the current, published versions of the Profiles specifications. - - - - - -

RVA23 Profile

-
- - Focused on Servers and application class processors. - - - - - - -
-
- - - - -

RVB23 Profile

-
- - Focused on Edge embedded Devices. - - - - - - -
-
- - - -

RISC-V Profiles

-
- - The older profiles. Archived for historical purposes - - - - - - -
-
-
diff --git a/docs/spec/profiles/riscv-profiles.mdx b/docs/spec/profiles/riscv-profiles.mdx index 9f38c97b3..9710343c9 100644 --- a/docs/spec/profiles/riscv-profiles.mdx +++ b/docs/spec/profiles/riscv-profiles.mdx @@ -4,8 +4,24 @@ hide_table_of_contents: true pdf: "/pdf/RISC-V_Profiles2024-12-02.pdf" --- +# RISC-V Profiles -Provides the processor-specific application binary interface document for RISC-V. +Base profile overview with RVA20, RVI20, and RVA22 profile definitions. - - \ No newline at end of file +*Latest version: 1.0 Date: March 2023* + +[PDF](https://drive.google.com/file/d/1Kg7Ner5ZlxFDclf92-9Tz88JvmZWt5Wb/view) + +# **Details** + +| RISC-V Community: | [Profiles SIG](https://lists.riscv.org/g/sig-profiles) | +| :---- | :---- | +| **Source:** | [riscv/riscv-profiles](https://github.com/riscv/riscv-profiles) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | March 2023 | [PDF](https://drive.google.com/file/d/1Kg7Ner5ZlxFDclf92-9Tz88JvmZWt5Wb/view) | diff --git a/docs/spec/profiles/rva23.mdx b/docs/spec/profiles/rva23.mdx index 23d904e07..e42f5d5e2 100644 --- a/docs/spec/profiles/rva23.mdx +++ b/docs/spec/profiles/rva23.mdx @@ -4,7 +4,25 @@ id: rva23 hide_table_of_contents: true pdf: '/pdf/rva23-profile.pdf' --- -Provides the processor-specific application binary interface document for RISC-V. +# RVA23 Profile + +A Profile focused on Servers and application class processors. + +*Latest version: 1.0 Date: October 2024* + +[PDF](https://drive.google.com/file/d/12QKRm92cLcEk8-5J9NI91m0fAQOxqNAq/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Profiles SIG](https://lists.riscv.org/g/sig-profiles) | +| :---- | :---- | +| **Source:** | [riscv/riscv-profiles](https://github.com/riscv/riscv-profiles) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | October 2024 | [PDF](https://drive.google.com/file/d/12QKRm92cLcEk8-5J9NI91m0fAQOxqNAq/view?usp=drive_link) | - - \ No newline at end of file diff --git a/docs/spec/profiles/rvb23.mdx b/docs/spec/profiles/rvb23.mdx index c383e65f9..35ef02828 100644 --- a/docs/spec/profiles/rvb23.mdx +++ b/docs/spec/profiles/rvb23.mdx @@ -4,7 +4,25 @@ id: rvb23 hide_table_of_contents: true pdf: "/pdf/rvb23-profile.pdf" --- -Provides the processor-specific application binary interface document for RISC-V. +# RVB23 Profile - - \ No newline at end of file + +A Profile focused on edge embedded devices. + +*Latest version: 1.0 Date: October 2024* + +[PDF](https://drive.google.com/file/d/1pBQAeTasG6smBxZc_zLkQU1GPA4Zngo7/view?usp=drive_link) + +# **Details** + +| RISC-V Community: | [Profiles SIG](https://lists.riscv.org/g/sig-profiles) | +| :---- | :---- | +| **Source:** | [riscv/riscv-profiles](https://github.com/riscv/riscv-profiles) | + +# **History** + +All published versions of the specification are listed below from newest to oldest. + +| Version | Publish Date | View | +| :---- | :---: | :---- | +| 1.0 | October 2024 | [PDF](https://drive.google.com/file/d/1pBQAeTasG6smBxZc_zLkQU1GPA4Zngo7/view?usp=drive_link) | diff --git a/docs/spec/reference.mdx b/docs/spec/reference.mdx index d31339c25..0ac99a145 100644 --- a/docs/spec/reference.mdx +++ b/docs/spec/reference.mdx @@ -3,44 +3,55 @@ id: reference title: Reference sidebar_position: 1 hide_table_of_contents: true +hide_title: true --- import siteConfig from '@site/docusaurus.config'; -The RISC-V Library contains a comprehensive list of all of the ratified RISC-V technical publications. +## ISA Specifications -## Instruction Set (ISA) Specifications - -These are the current ratified versions of the ISA specifications. Previously published versions and the original ratification specifications for included extensions can be found on the [RISC-V Technical Specifications Archive page](https://lf-riscv.atlassian.net/wiki/spaces/HOME/pages/16154899/RISC-V+Technical+Specifications+Archive). +These are the current, published versions of the ISA specifications. See the “More…” links for details on each specification such as community details, source repositories, recently ratified extensions, older versions, and project archives. - + -

Volume I

+

Unprivileged Architecture

- Unprivileged Architecture + ISA Volume I +

Version: 20250508 Date: May 2025
- + {/* - + */} + HTML + | + PDF + | + More ...
- + -

Volume II

+

Privileged Architecture

- Privileged Architecture + ISA Volume II +

Version: 20250508 Date: May 2025
- + {/* - + */} + HTML + | + PDF + | + More ...
@@ -53,96 +64,121 @@ Extensions that are ratified, but not yet included in the full specifications, c --- ## Profiles -These are the current, published versions of the Profiles specifications. +These are the current, published versions of the Profiles specifications. See the “More…” links for details on each specification such as community details, source repositories, and older versions. + - +

RVA23 Profile

Focused on Servers and application class processors. +

Version: 1.0 Date: October 2024
- + {/* - + */} + PDF + | + More ...
- +

RVB23 Profile

- Focused on Edge embedded Devices. + Focused on Edge embedded Devices. +

Version: 1.0 Date: October 2024
- + {/* - + */} + PDF + | + More ...
- +

RISC-V Profiles

- Base profile overview with RVA20, RVI20, and RVA22 profile definitions. + The older profiles.

Archived for historical purposes +

Version: 1.0 Date: March 2023
- + {/* - + */} + PDF + | + More ...
--- -## Processor Infrastructure -- [RISC-V Advanced Interrupt Architecture](./non-isa/advanced-interrupt) -- [RISC-V IO Mapping Table Specification](./non-isa/io-mapping) -- [RISC-V IOMMU Architecture Specification ](./non-isa/iommu-architecture) -- [RISC-V Platform-Level Interrupt Controller Specification](./non-isa/platform-interrupt) -- [RISC-V Server SOC Specification](./non-isa/server-soc) - -## Debug, Trace, & RAS -- [The RISC-V Debug Specification](./non-isa/debug) -- [Efficient Trace for RISC-V](./non-isa/efficient-trace) -- [RISC-V N-Trace (Nexus-based Trace)](./non-isa/n-trace) -- [RISC-V Capacity and Bandwidth QoS Register Interface](./non-isa/qos) -- [RISC-V RERI Architecture Specification](./non-isa/reri) -- [RISC-V Trace Connectors](./non-isa/trace-conectors) -- [RISC-V Trace Control Interface](./non-isa/trace-control-interface) -- [Unformatted Trace & Diagnostic Data Packet Encapsulation for RISC-V](./non-isa/unformatted-trace) - -## Platform Software -- [RISC-V Functional Fixed Hardware Specification](./non-isa/functional-fixed) -- [RISC-V Semihosting](./non-isa/semihosting) -- [RISC-V Supervisor Binary Interface Specification](./non-isa/sbi) -- [RISC-V UEFI Protocol Specification](./non-isa/uefi) - -## Application Software -- [RISC-V ABIs Specification](./non-isa/abi) - -## Guides -- [Authoring and Editing RISC-V Specifications](https://github.com/riscv/docs-dev-guide/releases/tag/v0.2.0-example) - -## Glossary -- Terms -- Acronyms -- Alphabetical listing of Extensions -- CSRs ---- +# Non-ISA Hardware Specifications + +These are the current, published versions of the non-ISA hardware specifications. See the “More…” links for details on each specification such as community details, source repositories, and older versions. + +| | Version | Published | Updated | +| :---- | :---: | :---: | ----- | +| **RISC-V Advanced Interrupt Architecture** Describes an Advanced Interrupt Architecture for RISC-V systems.

[PDF](https://drive.google.com/file/d/16life2Y5u7Plebbl4v1fFM1-NK-KHw0Y/view?usp=sharing) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/806289428) | 1.0 | June 2023 | | +| **RISC-V IOMMU Architecture Specification** Describes an Input-Output Memory Management Unit (IOMMU) that connects direct-memory-access-capable Input/Output (I/O) devices to system memory.

[PDF](https://drive.google.com/file/d/1kVapIJPXUUNFQv_yauCDgtWzMvpgh6C2/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/806617089) | 1.0 | June 2023 | August 2025 | +| **RISC-V Platform-Level Interrupt Controller Specification** Delineates the operational parameters for a platform-level interrupt controller on RISC-V.

[PDF](https://drive.google.com/file/d/1at94PNJl4v2eAsKIwKOsZWBxsVcY2U2F/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/806617106) | 1.0.0 | February 2023 | | +| **RISC-V Server SOC Specification** Defines a standardized set of capabilities that portable system software such as operating systems and hypervisors, can rely on being present in a RISC-V server SoC.

[PDF](https://drive.google.com/file/d/1KjewRE0NltEmbKOz7YlgOsTF51lZ6aPL/view?usp=sharing) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/806617123) | 1.0 | February 2025 | | + :::note -If you do not see a specification in this library, visit the [RISC-V GitHub `riscv-non-isa`](https://github.com/riscv-non-isa) organization to see a complete list of all specifications that have been developed or are presently under development. +If you do not see a specification in the above table, visit the RISC-V GitHub [riscv-non-isa](https://github.com/riscv-non-isa) organization to see a complete list of all specifications which have been developed or are presently under development. ::: - + +# Software Specifications + +These are the current, published versions of the software specifications. Prior published versions can be found on the [RISC-V Technical Specifications Archive page](https://lf-riscv.atlassian.net/wiki/spaces/HOME/pages/16154899). + +## Debug, Trace, RAS + +| | Version | Published | Updated | +| :---- | :---: | :---: | :---: | +| **Efficient Trace for RISC-V** Specifies the signals between the RISC-V core and the encoder, compressed branch trace algorithm, and the packet format used to encapsulate the compressed branch trace information to implement processor tracing.

[PDF](https://drive.google.com/file/d/1iijHsZB7YXW0A2HuuzHo5QTZSKrO_KbW/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926657) | 2.0 | June 2022 | June 2025 | +| **RISC-V Capacity and Bandwidth QoS Register Interface** Specifies: QoS identifiers to identify workloads that originate requests to the shared resources. Access-type identifiers to accompany request to access a shared resource to allow differentiated treatment of each access-type. Register interface for capacity allocation in controllers such as shared caches, directories, etc. Register interface for capacity usage monitoring. Register interface for bandwidth allocation in controllers such as interconnect and memory controllers. Register interface for bandwidth usage monitoring.

[PDF](https://drive.google.com/file/d/1XSKqg6MXEmRdpdUYLj-Q03kZD6TDQhtu/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809697292) | 1.0 | June 2024 | | +| **The RISC-V Debug Specification** Outlines a standard architecture for debug support on RISC-V hardware platforms. This architecture allows a variety of implementations and tradeoffs, which is complementary to the wide range of RISC-V implementations. At the same time, this specification defines common interfaces to allow debugging tools and components to target a variety of hardware platforms based on the RISC-V ISA.

[PDF](https://drive.google.com/file/d/1h_f9NgB_8m2fS6uCnKP1Oho-3x1MpBEl/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926674) | 1.0 | February 2025 | | +| **RISC-V N-Trace (Nexus-based Trace)** Implements the IEEE-5001 Nexus Standard tailored to support the trace of RISC-V ISA cores, harts and SoC/MCU designs.

[PDF](https://drive.google.com/file/d/1UXFptcTjd5akPhKRtn0onBC6t53O61qU/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926691) | 1.0 | November 2024 | | +| **RISC-V RERI Architecture Specification** Augments Reliability, Availability, and Serviceability (RAS) features in the SoC with a standard mechanism for reporting errors by means of a memory-mapped register interface to enable error reporting. Additionally, this specification supports software-initiated error logging, reporting, and testing of RAS handlers. Lastly, this specification provides maximal flexibility to implement error handling and coexists with RAS frameworks defined by other standards such as PCIe and CXL.

[PDF](https://drive.google.com/file/d/19gMRFbWDrfDZKyqoO3iFkySPvKpxm26a/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809697310) | 1.0 | May 2024 | | +| **RISC-V Trace Connectors** Adds trace signals to connectors described in [RISC-V External Debug Support](https://riscv.atlassian.net/wiki/spaces/HOME/pages/805568530/RISC-V+Technical+Specifications+Proposed#The-RISC-V-Debug-Specification) and provides a small, optional extension to connectors described in and MIPI Debug & Trace Connectors Recommendations White Paper, Version 1.20, 2 July 2021\.

[PDF](https://drive.google.com/file/d/1SMypv0CUL338L-sURMyJuO60WZ7oDi9V/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057729) | 1.0 | November 2024 | | +| **RISC-V Trace Control Interface** Presents a standardized control interface for RISC-V trace infrastructure (such as trace encoders, trace funnels, trace sinks) for the [Efficient Trace for RISC-V](https://riscv.atlassian.net/wiki/spaces/HOME/pages/805568530/RISC-V+Technical+Specifications+Proposed#Efficient-Trace-for-RISC-V) specification and for the [RISC-V N-Trace (Nexus-based Trace)](https://riscv.atlassian.net/wiki/spaces/HOME/pages/805568530/RISC-V+Technical+Specifications+Proposed#RISC-V-N-Trace-\(Nexus-based-Trace\)) specification. Standardized control interface allows trace control software development tools to be used interchangeably with any RISC-V device implementing processor and/or data trace.

[PDF](https://drive.google.com/file/d/1ZQvU1WNamY5EHGum4yP1z-WmPrcxH2b8/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057747) | 1.0 | November 2024 | | +| **Unformatted Trace & Diagnostic Data Packet Encapsulation for RISC-V** Defines an encapsulation format suitable for use with a variety of transport mechanisms, including but not limited to AMBA Advanced Trace Bus (ATB) and Siemens' Messaging Infrastructure.

[PDF](https://drive.google.com/file/d/1R-_koXIpdb9_qW6jpz74TSnNXOfJGhfn/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057766) | 1.0 | June 2024 | | + +## Platform Software Specifications + +| | Version | Published | Updated | +| :---- | :---: | :---: | ----- | +| **RISC-V Boot and Runtime Services Specification (BRS)** Defines a standardized set of software capabilities, that portable system software, such as operating systems and hypervisors, can rely on being present in an implementation to utilize in acts of device discovery, OS boot and hand-off, system management, and other operations.

[PDF](https://drive.google.com/file/d/1ZvEa5AX3j7FXmXW5H1chIMVkyjJGmFmh/view?usp=sharing) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926709) | 1.0 | August 2025 | | +| **RISC-V Functional Fixed Hardware Specification** Provides additional system specification for RISC-V systems which use Advanced Configuration and Power Interface (ACPI), specifically for some ACPI object fields of type “Resource Descriptor”.

[PDF](https://drive.google.com/file/d/1XzlA0LE4N5_47wJXsU3aqyD69pHGvdcL/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057786) | 1.0.1 | January 2024 | October 2024 | +| **RISC-V IO Mapping Table Specification** Provides information about the RISC-V IOMMU and the relationship between the IO topology and the IOMMU in ACPI based RISC-V platforms. The RIMT identifies which components are behind IOMMU and how they are connected together.

[PDF](https://drive.google.com/file/d/1sxQ3iQ1l5Jgq9tukvGMnucRUvY16s8zN/view?usp=sharing) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/809926726) | 1.0 | March 2025 | | +| **RISC-V Platform Management Interface Specification (RPMI)** Describes an OS-agnostic, firmware-agnostic, scalable and extensible interface for platform management and control from dedicated microcontrollers (also referred to as platform microcontroller or PuC).

[PDF](https://drive.google.com/file/d/1DeN7MZcH4ER7dTIQnmCjTx2PafxkuGVU/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057803) | 1.0 | July 2025 | | +| **RISC-V Semihosting** Defines the semihosting binary interface for RISC-V platforms.

[PDF](https://drive.google.com/file/d/1qu74D4_EmjGmc03qzfQ7Pf4g6m0fOtcD/view?usp=sharing) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057820) | 1.0 | February 2025 | | +| **RISC-V Supervisor Binary Interface Specification** The RISC-V Supervisor Binary Interface, allows supervisor-mode (S-mode or VS-mode) software to be portable across all RISC-V implementations by defining an abstraction for platform (or hypervisor) specific functionality. The design of the SBI follows the general RISC-V philosophy of having a small core along with a set of optional modular extensions. Version 3.0 adds PMU event information and base event type; new extensions for MPXY, DBTR, FWFT, and SSE; additional error codes; and clarifications in the set\_timer function and IPI and RFENCE error codes.

[PDF](https://drive.google.com/file/d/1RHY5Gj0cDSrY5BlK6pGblZt03fDRF2-g/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057837) | 3.0.0 | July 2025 | | +| **RISC-V UEFI Protocol Specification** Details all new UEFI protocols required only for RISC-V platforms.

[PDF](https://drive.google.com/file/d/1rbQDRkoeJyqTKTI6tTCKw8zmh7T9dLUZ/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057854) | 1.0.0 | May 2022 | | + +## Application Enablement Specifications + +| | Version | Published | Updated | +| :---- | :---: | :---: | ----- | +| **RISC-V ABIs Specification** Provides the processor-specific application binary interface document for RISC-V.

[PDF](https://drive.google.com/file/d/1Ja_Tpp_5Me583CGVD-BIZMlgGBnlKU4R/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057873) | 1.0 | November 2022 | | +| **RISC-V Vector C Intrinsic Specification** Provide user interfaces in the C language level to directly leverage the RISC-V Vector Extensions with assistance from the compiler in handling instruction scheduling and register allocation. The intrinsics also free users from responsibility of maintaining the correct configuration settings for the vector instruction executions.

[PDF](https://drive.google.com/file/d/1RTZi2iOLKzqaX95JCCnzwOm7iCIN3JEq/view?usp=drive_link) | [More…](https://riscv.atlassian.net/wiki/spaces/HOME/pages/810057854) | 1.0 | April 2025 | | + diff --git a/sidebars.ts b/sidebars.ts index 3d801454d..bcaf695ec 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -46,15 +46,25 @@ const sidebars: SidebarsConfig = { label:'The ISA Specification', // link: {type: 'doc', id: 'spec/isa'}, items:[ + // { + // type:"link", + // label:"ISA Volume 1: Priv", + // href:"pathname:///docs/reference/isa/unpriv/intro.html", + // }, + // { + // type:"link", + // label:"ISA Volume 2: Un-Priv", + // href:"pathname:///docs/reference/isa/priv/priv-intro.html", + // }, { - type:"link", - label:"ISA Volume 1: Priv", - href:"pathname:///docs/reference/isa/unpriv/intro.html", + type:"doc", + label:"ISA Volume 1: UnPrivileged", + id:"spec/isa1", }, { - type:"link", - label:"ISA Volume 2: Un-Priv", - href:"pathname:///docs/reference/isa/priv/priv-intro.html", + type:"doc", + label:"ISA Volume 2: Privileged", + id:"spec/isa2", }, ], @@ -113,11 +123,13 @@ const sidebars: SidebarsConfig = { label:'Platform Software', collapsed:true, items:[ + 'spec/non-isa/brs', 'spec/non-isa/functional-fixed', + 'spec/non-isa/io-mapping', + 'spec/non-isa/rpmi', 'spec/non-isa/semihosting', 'spec/non-isa/sbi', 'spec/non-isa/uefi', - 'spec/non-isa/io-mapping', ], }, { @@ -126,6 +138,7 @@ const sidebars: SidebarsConfig = { collapsed:true, items:[ 'spec/non-isa/abi', + 'spec/non-isa/vector-c', ], }, // { diff --git a/static/pdf/brs.pdf b/static/pdf/brs.pdf new file mode 100644 index 000000000..b4477e119 Binary files /dev/null and b/static/pdf/brs.pdf differ diff --git a/static/pdf/rpmi.pdf b/static/pdf/rpmi.pdf new file mode 100644 index 000000000..fe8ed30cc Binary files /dev/null and b/static/pdf/rpmi.pdf differ diff --git a/static/pdf/vector-c.pdf b/static/pdf/vector-c.pdf new file mode 100644 index 000000000..e4f062ef9 Binary files /dev/null and b/static/pdf/vector-c.pdf differ