lib: sbi: Implement SBI debug console extension
authorAnup Patel <apatel@ventanamicro.com>
Wed, 23 Nov 2022 05:41:43 +0000 (11:11 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 10 Feb 2023 04:25:18 +0000 (09:55 +0530)
commit5a41a3884fe2a639698aaa67a9c1ecc33573eb78
treee59959ca68c9be983d67bbf19315495046108508
parenteab48c33a12d5cdb01e36d0078c9f79764055952
lib: sbi: Implement SBI debug console extension

We implement SBI debug console extension as one of the replacement
SBI extensions. This extension is only available when OpenSBI platform
provides a console device to generic library.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
lib/sbi/Kconfig
lib/sbi/objects.mk
lib/sbi/sbi_ecall_dbcn.c [new file with mode: 0644]