fidl_data_zx/
smc.rs

1// Copyright 2022 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// DO NOT EDIT.
6// Generated from FIDL library `zx` by zither, a Fuchsia platform tool.
7
8#![allow(unused_imports)]
9
10use zerocopy::{FromBytes, IntoBytes};
11
12use crate::zx_common::*;
13
14#[repr(C)]
15#[derive(Clone, Copy, Debug, Eq, PartialEq)]
16pub struct SmcParameters {
17    pub func_id: u32,
18    pub arg1: u64,
19    pub arg2: u64,
20    pub arg3: u64,
21    pub arg4: u64,
22    pub arg5: u64,
23    pub arg6: u64,
24    pub client_id: u16,
25    pub secure_os_id: u16,
26}
27
28#[repr(C)]
29#[derive(Clone, Copy, Debug, Eq, FromBytes, IntoBytes, PartialEq)]
30pub struct SmcResult {
31    pub arg0: u64,
32    pub arg1: u64,
33    pub arg2: u64,
34    pub arg3: u64,
35    pub arg6: u64,
36}