physmap_bindings/physmap_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.physmap-bindings.bindgen.
6
7#![no_std]
8pub use zx_types::{zx_paddr_t, zx_vaddr_t};
9
10unsafe extern "C" {
11 pub fn cpp_paddr_to_physmap(paddr: zx_paddr_t) -> zx_vaddr_t;
12}
13unsafe extern "C" {
14 pub fn cpp_physmap_to_paddr(vaddr: zx_vaddr_t) -> zx_paddr_t;
15}