sbi_spec/sta.rs
1//! Chapter 16. Steal-time Accounting Extension (EID #0x535441 "STA").
2
3/// Extension ID for Steal-time Accounting Extension.
4pub const EID_STA: usize = crate::eid_from_str("STA") as _;
5pub use fid::*;
6
7/// Declared in §16.2.
8mod fid {
9 /// Function ID to set the shared memory physical base address for steal-time accounting of the calling virtual hart and enable the SBI implementation’s steal-time information reporting.
10 ///
11 /// Declared in §16.1.
12 pub const SET_SHMEM: usize = 0;
13}