Closed
Description
The RAM init function is incompatible with (as of yet, unratified) RV32E base ISA.
Lines 147 to 158 in f5a2da9
The algorithm uses temporaries t0--t3 to copy data from from flash to RAM. However, the RV32E removes registers x16
--x31
, which includes t3
/ x28
, therefore making this algorithm unavailable on RVE.
Proposals for a solution
- We could pick another register in range
x0--x16
in place oft3
to make the code compatible between RVI and RVE - We could
#[cfg(riscve)]
the algorithm to use another register on RV32E.
Metadata
Metadata
Assignees
Labels
No labels