lib: sbi: Add sbi_ngets() function
authorAnup Patel <apatel@ventanamicro.com>
Wed, 4 Jan 2023 12:06:29 +0000 (17:36 +0530)
committerAnup Patel <anup@brainfault.org>
Thu, 9 Feb 2023 17:00:06 +0000 (22:30 +0530)
commit4e0572f57bc832b13f6e813dcdaebb1bf4d1172a
treec1297293a92b4bcd7f116dec10da41795e966f5c
parent0ee3a86fedafccaa5f57df86b07547747920972e
lib: sbi: Add sbi_ngets() function

We add new sbi_ngets() which help us read characters into a
physical memory location.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
include/sbi/sbi_console.h
lib/sbi/sbi_console.c