-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
riscv: add fallible functions #222
Commits on Jul 4, 2024
-
Adds the `result` module to contain types for fallible functions. For discussion, see: <rust-embedded#212 (comment)>
Configuration menu - View commit details
-
Copy full SHA for 014bc42 - Browse repository at this point
Copy the full SHA 014bc42View commit details -
riscv: add fallible functions to register macros
Adds fallible `try_` function variants to most `register` module macros.
Configuration menu - View commit details
-
Copy full SHA for 0d23dc1 - Browse repository at this point
Copy the full SHA 0d23dc1View commit details -
riscv: add fallible functions to mcounteren
Adds fallible access functions for `Mcounteren` HPM fields.
Configuration menu - View commit details
-
Copy full SHA for 5165db3 - Browse repository at this point
Copy the full SHA 5165db3View commit details -
riscv: add fallible functions to scounteren
Adds fallible access functions for `Scounteren` HPM fields.
Configuration menu - View commit details
-
Copy full SHA for 66fa6a4 - Browse repository at this point
Copy the full SHA 66fa6a4View commit details -
riscv: add fallible functions to mcountinhibit
Adds fallible access functions for `Mcountinhibit` HPM fields.
Configuration menu - View commit details
-
Copy full SHA for 56f30bb - Browse repository at this point
Copy the full SHA 56f30bbView commit details -
riscv: add fallible functions to satp
Adds fallible access functions for `Satp` ASID and PPN fields.
Configuration menu - View commit details
-
Copy full SHA for 54bdc4e - Browse repository at this point
Copy the full SHA 54bdc4eView commit details -
riscv: add fallible functions to pmpcfgx
Adds fallible conversion functions for `Pmpcfgx` permission and range fields.
Configuration menu - View commit details
-
Copy full SHA for 77b692f - Browse repository at this point
Copy the full SHA 77b692fView commit details
Commits on Jul 10, 2024
-
riscv-pac: use
Result
type for traitsUses the new `Result` type for library traits.
Configuration menu - View commit details
-
Copy full SHA for 62a417a - Browse repository at this point
Copy the full SHA 62a417aView commit details
Commits on Jul 12, 2024
-
riscv-peripheral: use
riscv-pac
result typesUses the `riscv_pac::result::*` types for unsafe trait implementations.
Configuration menu - View commit details
-
Copy full SHA for fea2e0b - Browse repository at this point
Copy the full SHA fea2e0bView commit details
Commits on Jul 13, 2024
-
riscv-pac: add field and field-less error variants
Changes current `Invalid*` variants to `InvalidField*` variants to indicate their use for subfields in an outer struct. Adds the field-less counterparts for use in a context without subfields.
Configuration menu - View commit details
-
Copy full SHA for 2b35502 - Browse repository at this point
Copy the full SHA 2b35502View commit details