forward-struct.rs 225 B

123456789
  1. use rustsbi::{RustSBI, Forward};
  2. // The `Forward` structure must build
  3. #[derive(RustSBI)]
  4. struct ForwardAll {
  5. #[rustsbi(console, cppc, hsm, ipi, nacl, pmu, reset, fence, sta, susp, timer, info)]
  6. forward: Forward,
  7. }