cidre 0.14.0

Apple frameworks bindings for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::{KernReturn, VmAddr, VmAllocationFlags, VmSize};

unsafe extern "C-unwind" {
    pub fn vm_allocate(
        target_task: super::VmMap,
        address: *mut VmAddr,
        size: VmSize,
        flags: VmAllocationFlags,
    ) -> KernReturn;

    pub fn vm_deallocate(target_task: super::VmMap, address: VmAddr, size: VmSize) -> KernReturn;
}