sbi_spec/binary.rs
1//! Chapter 3. Binary Encoding.
2
3// SBI return value and error codes.
4mod sbi_ret;
5pub use sbi_ret::{Error, SbiRegister, SbiRet, id::*};
6
7// Masks.
8mod mask_commons;
9pub use mask_commons::MaskError;
10
11mod counter_mask;
12mod hart_mask;
13mod trigger_mask;
14pub use counter_mask::CounterMask;
15pub use hart_mask::{HartIds, HartMask};
16pub use trigger_mask::TriggerMask;
17
18// Pointers.
19mod physical_slice;
20mod shared_physical_ptr;
21pub use physical_slice::Physical;
22pub use shared_physical_ptr::SharedPtr;