4
0

forward-struct.rs 310 B

123456789101112
  1. use rustsbi::{Forward, RustSBI};
  2. // The `Forward` structure must build
  3. #[allow(unused)] // FIXME: hot fix, use it on unit test in the future.
  4. #[derive(RustSBI)]
  5. struct ForwardAll {
  6. #[rustsbi(
  7. console, cppc, hsm, ipi, nacl, pmu, reset, fence, sta, susp, timer, info
  8. )]
  9. forward: Forward,
  10. }