mach_sys/vm_sync.rs
1//! This module corresponds to `mach/vm_sync.h`.
2
3use crate::ffi::c_uint;
4
5pub type vm_sync_t = c_uint;
6
7pub const VM_SYNC_ASYNCHRONOUS: vm_sync_t = 1;
8pub const VM_SYNC_SYNCHRONOUS: vm_sync_t = 1 << 1;
9pub const VM_SYNC_INVALIDATE: vm_sync_t = 1 << 2;
10pub const VM_SYNC_KILLPAGES: vm_sync_t = 1 << 3;
11pub const VM_SYNC_DEACTIVATE: vm_sync_t = 1 << 4;
12pub const VM_SYNC_CONTIGUOUS: vm_sync_t = 1 << 5;
13pub const VM_SYNC_REUSABLEPAGES: vm_sync_t = 1 << 6;
14