-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This moves the type to correctly match the specification. Through the use of the From trait on SbiReturn it is possible to get access to the result of the call as the desired type. In all cases the value is interpretted as the raw bit value with no runtime checking (e.g. no checking that a u64 fits into the i64.) The individual users of the the ecall_send() API can choose the type that they desire and interpret as required. See: rivosinc/salus#38 Signed-off-by: Rob Bradford <[email protected]>
- Loading branch information
1 parent
9b83bc4
commit 18febaf
Showing
3 changed files
with
58 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters