Skip to main content

pmm_checker_bindings/
pmm_checker_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/vm:_kernel_bindgen_crate.pmm-checker-bindings.bindgen.
6
7#![expect(non_upper_case_globals)]
8#![no_std]
9pub use boot_options::CheckFailAction;
10
11#[repr(C)]
12pub struct PmmChecker {
13    pub fill_size_: usize,
14    pub action_: CheckFailAction,
15    pub armed_: bool,
16    pub __bindgen_padding_0: [u8; 6usize],
17}
18pub const PmmChecker_kDefaultActionRaw: u8 = 0;
19#[allow(clippy::unnecessary_operation, clippy::identity_op)]
20const _: () = {
21    ["Size of PmmChecker"][::core::mem::size_of::<PmmChecker>() - 16usize];
22    ["Alignment of PmmChecker"][::core::mem::align_of::<PmmChecker>() - 8usize];
23    ["Offset of field: PmmChecker::fill_size_"]
24        [::core::mem::offset_of!(PmmChecker, fill_size_) - 0usize];
25    ["Offset of field: PmmChecker::action_"][::core::mem::offset_of!(PmmChecker, action_) - 8usize];
26    ["Offset of field: PmmChecker::armed_"][::core::mem::offset_of!(PmmChecker, armed_) - 9usize];
27};