risc-v: implement DBCN write byte
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 4 Sep 2023 11:24:03 +0000 (13:24 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 5 Sep 2023 02:53:55 +0000 (10:53 +0800)
commitd14222e7c152e36bf7d370c2623242a22fb9e821
tree2c93ebf14147fc4eeefc9f48f16dddbf849df99b
parentef08687ea0e2b5d57a1df51e6613bc4263747943
risc-v: implement DBCN write byte

The DBCN extension provides a Console Write Byte call.
Implement function sbi_dbcn_write_byte to invoke it.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/include/asm/sbi.h
arch/riscv/lib/sbi.c