Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: riscv64: use RISC-V SBI 2.0 ratified DBCN write instead of depre…
…cated legacy console write Legacy extensions are deprecated in SBI 0.2 dated back to 2021; some of the SBI implementations have already dropped support for legacy console, resulting in no console output for hermit OS loader. To solve this problem, we use its replacement in the SBI 2.0 DBCN extension, which is supported by modern SBI firmwares. We do this by modify our code to use console_write_byte function from sbi-rt. Signed-off-by: Zhouqi Jiang <[email protected]>
- Loading branch information