summaryrefslogtreecommitdiff
path: root/doc/usage/sbi.rst
blob: 96d8861057fbfc222f782332ec09ab22ea8a73db (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
.. 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 0.2
    OpenSBI
    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

The first line indicates the version of the RISC-V SBI specification.
The second line indicates the implementation.
The further lines enumerate the implemented extensions.

Configuration
-------------

To use the sbi command you must specify CONFIG_CMD_SBI=y.