This crate provides interfaces for both implementing(firmware or hypervisor) and using(S and VS mode supervisors) SBI functionality.
SBI-defined types are in src/<extension_name>.rs
. Each file enumerates the
functions for the given extension and declares all data types it uses.
Interfaces for invoking SBI calls from S-mode are provided in the src/api
directory. There is one file per extension.