arch_types_bindings/arch_types_bindings.rs
1// Copyright 2026 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// This file is automatically generated by //zircon/kernel/arch:_kernel_bindgen_crate.arch-types-bindings.bindgen.
6
7#![no_std]
8
9#[repr(C)]
10#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)]
11pub struct UserEntryState {
12 pub pc: u64,
13 pub sp: u64,
14 pub arg1: u64,
15 pub arg2: u64,
16 pub tp: u64,
17 pub abi_reg: u64,
18}
19#[repr(u32)]
20#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
21pub enum GeneralRegsSource {
22 None = 0,
23 Iframe = 1,
24 Syscall = 2,
25}