blob: 713e0b9c81601d38b3ec615783e01bb290f2a7e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
.. SPDX-License-Identifier: GPL-2.0+
sbi command
===========
Synopsis
--------
::
sbi
Description
-----------
The sbi command is used to display information about the SBI (Supervisor Binary
Interface) implementation on RISC-V systems.
The output may look like:
::
=> sbi
SBI 1.0
OpenSBI 1.1
Machine:
Vendor ID 0
Architecture ID 0
Implementation ID 0
Extensions:
Set Timer
Console Putchar
Console Getchar
Clear IPI
Send IPI
Remote FENCE.I
Remote SFENCE.VMA
Remote SFENCE.VMA with ASID
System Shutdown
SBI Base Functionality
Timer Extension
IPI Extension
RFENCE Extension
Hart State Management Extension
System Reset Extension
Performance Monitoring Unit Extension
The first line indicates the version of the RISC-V SBI specification.
The second line indicates the implementation.
The Machine section shows the values of the machine information registers.
The Extensions section enumerates the implemented SBI extensions.
Configuration
-------------
To use the sbi command you must specify CONFIG_CMD_SBI=y.
|