opensbi
opensbi copied to clipboard
add HTIF documentation
Having a bit of documentation for the HTIF would be good. Currently this still feels a bit like a undocumented useful hack that has been there of quite some time (see e.g. https://github.com/ucb-bar/riscv-sodor/issues/13). What is guaranteed to work actually?
Maybe you can look at the QEMU HTIF emulation codes @ https://github.com/qemu/qemu/blob/master/hw/char/riscv_htif.c#L134
There are some decriptions there.