On Thu, 2 Jun 2022, Vedvyas Shanbhogue via lists.riscv.org wrote:
That is because it is useful to have debug console output when porting aUnderstand that better now. But if that is the main motivation thenBased on discussion it did not seem like it needs to be much fancier thanThe goal of the shared memory based SBI call for early prints is to
hypervisor or baremetal code to a new board.
Of course, if a hypervisor is already available for the board, then it
would be just as easy to use a paravirtualized interface, e.g. Xen's
HYPERVISOR_console_io hypercall. But somebody has to port the
hypervisor first :-)