diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-03-17 07:36:15 +0100 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2022-04-06 09:40:05 +0800 |
commit | cfb31e0b9e23809fc3733b733b20b3443e15c704 (patch) | |
tree | 2671dc0d6d62e88bf8de5b2a42750c2562d284d8 /lib/abuf.c | |
parent | ca7e93fa9f6c417a2d260440ff4c0aaded259989 (diff) |
cmd/sbi: add missing SBI information
Let the sbi command display:
* machine vendor ID
* machine architecture ID
* machine implementation ID
With this patch the output for the HiFive Unmatched looks like
=> sbi
SBI 0.3
OpenSBI 0.9
Machine:
Vendor ID 489
Architecture ID 8000000000000007
Implementation ID 20181004
Extensions:
sbi_set_timer
sbi_console_putchar
sbi_console_getchar
sbi_clear_ipi
sbi_send_ipi
sbi_remote_fence_i
sbi_remote_sfence_vma
sbi_remote_sfence_vma_asid
sbi_shutdown
SBI Base Functionality
Timer Extension
IPI Extension
RFENCE Extension
Hart State Management Extension
System Reset Extension
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'lib/abuf.c')
0 files changed, 0 insertions, 0 deletions