Skip to main content

pmm_arena_bindings/
pmm_arena_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-arena-bindings.bindgen.
6
7#![expect(non_camel_case_types)]
8#![no_std]
9pub use zx_types::{zx_paddr_t, zx_paddr_t as paddr_t};
10
11#[derive(PartialEq, Eq, Copy, Clone, Debug, Hash)]
12#[repr(C, align(8))]
13pub struct __BindgenOpaqueArray8<T>(pub T);
14impl<T: Copy + Default, const N: usize> Default for __BindgenOpaqueArray8<[T; N]> {
15    fn default() -> Self {
16        Self([<T as Default>::default(); N])
17    }
18}
19pub const PMM_ARENA_FLAG_LO_MEM: u32 = 1;
20pub type uint = ::core::ffi::c_uint;
21#[repr(C)]
22#[derive(Copy, Clone, Debug)]
23pub struct pmm_arena_info {
24    pub name: [::core::ffi::c_char; 16usize],
25    pub flags: uint,
26    pub __bindgen_padding_0: [u8; 4usize],
27    pub base: paddr_t,
28    pub size: usize,
29}
30pub type pmm_arena_info_t = pmm_arena_info;
31#[repr(C)]
32#[repr(align(8))]
33#[derive(Debug, Copy, Clone)]
34pub struct PmmArena {
35    pub _bindgen_opaque_blob: __BindgenOpaqueArray8<[u8; 56usize]>,
36}