Skip to content

Commit

Permalink
Add SBI Message Proxy(MPXY) extension
Browse files Browse the repository at this point in the history
SBI implementation(M-Mode) can have support for various
message protocols. To allow supervisor software
clients to send/receive messages for supported message
protocols let's add SBI Message Proxy(MPXY) extension.

Signed-off-by: Rahul Pathak <rpathak@ventanamicro.com>
  • Loading branch information
Rahul Pathak via lists.riscv.org authored and atishp04 committed Sep 16, 2024
1 parent 14527b4 commit 58acb26
Show file tree
Hide file tree
Showing 6 changed files with 865 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ DEPS += src/ext-steal-time.adoc
DEPS += src/ext-sse.adoc
DEPS += src/ext-firmware-features.adoc
DEPS += src/ext-debug-triggers.adoc
DEPS += src/ext-mpxy.adoc
DEPS += src/ext-experimental.adoc
DEPS += src/ext-vendor.adoc
DEPS += src/ext-firmware.adoc
Expand Down
2 changes: 2 additions & 0 deletions riscv-sbi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ include::src/ext-firmware-features.adoc[]

include::src/ext-debug-triggers.adoc[]

include::src/ext-mpxy.adoc[]

include::src/ext-experimental.adoc[]

include::src/ext-vendor.adoc[]
Expand Down
2 changes: 2 additions & 0 deletions src/binary-encoding.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ error codes.
| SBI_ERR_NO_SHMEM | -9 | Shared memory not available
| SBI_ERR_INVALID_STATE | -10 | Invalid state
| SBI_ERR_BAD_RANGE | -11 | Bad (or invalid) range
| SBI_ERR_TIMEOUT | -12 | Failed due to timeout
| SBI_ERR_IO | -13 | Input/Output error
|===

An `ECALL` with an unsupported SBI extension ID (*EID*) or an unsupported SBI
Expand Down
3 changes: 3 additions & 0 deletions src/changelog.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
== Change Log

=== Version 3.0-rc1
* Added SBI MPXY extension
* Added error code SBI_ERR_TIMEOUT
* Added error code SBI_ERR_IO
* Added sse mask/unmask function and pointer masking bit in fwft
* Clarify SBI IPI and RFENCE error codes
* Clarify the description of the `set_timer` function
Expand Down
Loading

0 comments on commit 58acb26

Please sign in to comment.