Skip to main content

vm_fault_bindings/
vm_fault_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.vm-fault-bindings.bindgen.
6
7#![expect(non_camel_case_types)]
8#![no_std]
9
10pub type uint = ::core::ffi::c_uint;
11pub const VMM_PF_FLAG_WRITE: uint = 1;
12pub const VMM_PF_FLAG_USER: uint = 2;
13pub const VMM_PF_FLAG_GUEST: uint = 4;
14pub const VMM_PF_FLAG_INSTRUCTION: uint = 8;
15pub const VMM_PF_FLAG_NOT_PRESENT: uint = 16;
16pub const VMM_PF_FLAG_HW_FAULT: uint = 32;
17pub const VMM_PF_FLAG_SW_FAULT: uint = 64;
18pub const VMM_PF_FLAG_ACCESS: uint = 128;
19pub const VMM_PF_FLAG_FAULT_MASK: uint = 96;