Skip to content

RustSBI version 0.4.1

Latest

Choose a tag to compare

@luojia65 luojia65 released this 13 May 15:24
· 444 commits to main since this release

Compared to version 0.4.0, this update mainly adds detailed features for various SBI extensions, migrates and upgrades dependencies and the toolchain edition, and makes effective adjustments to usability and completeness.

Please note that RustSBI 0.5.0 will introduce breaking changes to several functions in the PMU module. Developers using this module should take this into account when migrating to the future RustSBI 0.5.0 version.

What's Changed

  • fix(pmu): add missing pmu_snapshot_set_shmem function. by @NanaHigh in #77
  • feat(ci): add 2 new features in workflows. by @NanaHigh in #78
  • feat: add some config flags with bitflags in chapter 11 by @GrassedgeT in #74
  • spec: add FWFT extension support to SBI implementation by @ZhengLongBing in #80
  • spec: add func ids for SSE extension in SBI implementation by @chenzongyao200127 in #81
  • spec: add some methods for HartMask by @woshiluo in #82
  • spec: add EVENT_GET_INFO for PMU and feature type for FWFT extentions by @Placebo27 in #83
  • feat: support DBTR extension by @ZhengLongBing in #84
  • spec: add MPXY extension support to SBI implementation by @xiaobor123 in #85
  • spec: binary: added error codes SBI_ERR_TIMEOUT, SBI_ERR_IO, SBI_ERR_BAD_RANGE, SBI_ERR_INVALID_STATE by @Plucky923 in #86
  • fix(workflow): check all commits for Signed-off-by in pull requests or commit pushes by @luojia65 in #90
  • feat(ci): add MSRV test job for minimum supported Rust version (1.86.0-nightly) by @chenzongyao200127 in #91
  • docs: update MSRV in README.md by @bosswnx in #92
  • fix: migrate to Rust 2024 edition and refactor code by @luojia65 in #88
  • fix: build sbi-rt on non-RISC-V targets by @luojia65 in #89
  • feat(spec): refactor SbiRet to be generic of register and introduce the SbiRegister trait by @luojia65 in #93
  • refactor: merge rustsbi repository and prototyper repository by @guttatus in #95
  • feat(spec): add simple RV128I emulator example to illustrate example of non-usize SbiRet by @luojia65 in #94
  • fix: rearrange prototyper Cargo.toml dependencies, move RustSBI changelog file by @luojia65 in #100
  • feat(spec): add special constant V1_0 and V2_0 for structure Version by @luojia65 in #101
  • feat: enhance documentation and generic support for SBI masks by @luojia65 in #102
  • feat(prototyper): read const in cfg.rs from toml file by @woshiluo in #103
  • fix(ci): rearrange workflows, fix changelog workflow by @luojia65 in #107
  • feat(spec): add an example for custom SBI error code by @luojia65 in #108
  • rt: add SBI firmware features extension support by @joeschmo456 in #110
  • doc(prototyper): Add usage section to README by @chenzongyao200127 in #111
  • feat: add C language alias documentation support for RustSBI ecosystem library by @Plucky923 in #112
  • fix(prototyper): specify serde-device-tree commit id to resolve prototyper compilation error by @guttatus in #113
  • docs: updated readme to indicate how to compile the firmware by @Nowherechan in #114
  • fix(prototyper): fix incorrect mip setting when time interrupt processing by @guttatus in #115
  • feat: basic support for VisionFive2 by @woshiluo in #116
  • rt: add DBTR extension support to SBI implementation by @jf-li00 in #117
  • Update VisionFive2 docs by @woshiluo in #119
  • spec: add support for SSE, FWFT, DBTR, and MPXY extensions by @polypopopo in #120
  • feat(prototyper): implement basic functions of the SBI PMU extension by @guttatus in #122
  • rt: add SSE extension support to SBI implementation by @xiaobor123 in #124
  • refactor(spec): split binary structures into modules, small fixes by @luojia65 in #125
  • fix: correct typos in comments and documentation across multiple files by @chenzongyao200127 in #123
  • fix(prototyper): move device tree out of pmu protect by @woshiluo in #126
  • feat(rt): add MPXY extension support to SBI runtime library. by @JensenWei007 in #127
  • refactor(xtask): Restructure code and enhance error message clarity by @chenzongyao200127 in #130
  • readme: add description for RustSBI Agent on main readme docs by @jkpathfinder in #129
  • fix(prototyper): use x0 instead of in(reg) 0 in sfence.vma for full address space flush by @xiaobor123 in #133
  • fix(sbi-testing): replace #[naked] with #[unsafe(naked)] for stable Rust compatibility by @Saramanda9988 in #132
  • feat(prototyper): add system suspend extension support by @guttatus in #134
  • doc: add framework of the RustSBI Manual by @luojia65 in #128
  • feat(prototyper): add hfence support for virtualized TLB sync by @chenzongyao200127 in #136
  • fix(prototyper): replace #[naked] with #[unsafe(naked)] usage in prototyper. by @jackfiled in #138
  • feat: support sifive_u by @woshiluo in #137
  • feat(prototyper): support unaligned float load/store by @woshiluo in #135
  • feat(prototyper): support boot from pflash on QEMU virt platform. by @jackfiled in #139
  • feat(spec): add spec for penglai pmp extension by @Mechanicu in #140
  • feat(prototyper): allow to specify compile target in cargo prototyper by @luojia65 in #141
  • fix(prototyper) add "starfive,jh7110-clint", "sifive,clint0" to SIFIVE_CLINT_COMPATIBLE by @lurenjia1213 in #142
  • fix(penglai): add changelog file, add CI workflow checks to penglai crate by @luojia65 in #143
  • feat(spec): add spec for confidential VM extension by @ZhengLongBing in #144
  • docs(prototyper): update rustsbi prototyper's upstream url by @guttatus in #146
  • fix(prototyper): use rustc_align attribute on function. by @jackfiled in #145
  • feat(prototyper): add booting Arch Linux docs with edk2 and rustsbi. by @jackfiled in #148
  • feat(cove): (1/n) add COVH riscv-cove-rt CoVE S-mode runtime module by @luojia65 in #147
  • feat(prototyper): auto add reversed-memory device tree node by @woshiluo in #149
  • feat(prototyper): add support for ARM PL011 UART and update platform … by @13584452567 in #151
  • fix(prototyper): the clippy check failed due to target uninstalled. by @jackfiled in #153
  • feat(prototyper): add docs for booting ubuntu using RustSBI and edk2. by @jackfiled in #152
  • fix(prototyper): the sbi_end symbol may not be aligned to 4 bytes. by @jackfiled in #156
  • feat(prototyper): allocate the patched fdt on the heap. by @jackfiled in #155
  • feat(prototyper): make the valid next_addr address range configurable. by @jackfiled in #157
  • feat(prototyper): add Penglai/Keystone style PMP management for prototyper by @Mechanicu in #159
  • feat: we can probe dtb length by @woshiluo in #158
  • fix: hsm should return invalid when hartid is invalid by @yizishun in #162
  • feat(prototyper): split boot hart to init hart and boot hart by @woshiluo in #165
  • feat(aia): add register, CSR and PTE level support for RISC-V Advanced Interrupt Architecture (AIA) by @luojia65 in #167
  • fix(prototyper): add more aligned check by @woshiluo in #164
  • fix(testing): avoid direct casting of function item into integers by @luojia65 in #168
  • fix(prototyper): remove a semicolon in boot function by @crjg-k in #169
  • fix: fix pmp output by @woshiluo in #170
  • bump(prototyper): serde-device-tree to latest commit by @woshiluo in #171
  • fix(prototyper): wrong cpu enable order by @woshiluo in #175
  • refactor(prototyper): refactor fast handler for trap handle by @Plucky923 in #174
  • refactor(platform): streamline console initialization in sbi_find_and_init_console by @Polardist in #177
  • docs(prototyper): refine csr group comments by @manchangfengxu in #178
  • docs(prototyper): correct the comments of pmp setting by @crjg-k in #180
  • feat(library): Optimize PMP manage module code. by @Mechanicu in #181
  • feat(library): Add secure memory manage module by @Mechanicu in #182
  • fix(prototyper): skip non rela item in rela.dyn by @fkcrazy001 in #183
  • refactor: merge ArceBoot repository into RustSBI repository by @luojia65 in #185
  • feat: bump riscv crate to version 0.16.0, set riscv to workspace level dependency by @luojia65 in #184
  • refactor(arceboot): refactor the makefile into xtask and integrate github actions. by @hanbings in #187
  • fix(prototyper): stabilize runtime paths and add QEMU prototyper boot test by @Plucky923 in #189
  • fix(prototyper): validate pmu firmware counter index by @bosswnx in #191
  • fix(prototyper): validate DBCN console shared memory range by @manchangfengxu in #193
  • fix(prototyper): validate DBCN physical buffers by SBI ABI by @Plucky923 in #196
  • fix(prototyper): make sbi_console_getchar non-blocking by @manchangfengxu in #197
  • feat(cove-rt): add covh sbi calls for fid #0 to #2 by @wan9fei in #203
  • feat(covg): add TVM zero/shared pages and vCPU management (FID #12-#15) by @primercoder in #205
  • fix(prototyper): correct typo in PMU event-to-counter mapping helper name by @YiHx in #206
  • Fix pmu firmware event typo by @manbo1234 in #202
  • fix(prototyper): reject stopped harts in prototyper IPI and RFENCE paths by @manchangfengxu in #208
  • feat(riscv-cove): add COVE host extension functions by @Placebo27 in #209
  • feat(prototyper): add AIA/IMSIC interrupt backend for QEMU virt by @zevorn in #210

New Contributors

Full Changelog: v0.4.0...v0.4.1