File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -3795,6 +3795,27 @@ pub const kCCCallSequenceError: i32 = -4309;
37953795pub const kCCKeySizeError: i32 = -4310 ;
37963796pub const kCCInvalidKey: i32 = -4311 ;
37973797
3798+ // mach/host_info.h
3799+ pub const HOST_LOAD_INFO : i32 = 1 ;
3800+ pub const HOST_VM_INFO : i32 = 2 ;
3801+ pub const HOST_CPU_LOAD_INFO : i32 = 3 ;
3802+ pub const HOST_VM_INFO64 : i32 = 4 ;
3803+ pub const HOST_EXTMOD_INFO64 : i32 = 5 ;
3804+ pub const HOST_EXPIRED_TASK_INFO : i32 = 6 ;
3805+
3806+ // mach/vm_statistics.h
3807+ pub const VM_PAGE_QUERY_PAGE_PRESENT : i32 = 0x1 ;
3808+ pub const VM_PAGE_QUERY_PAGE_FICTITIOUS : i32 = 0x2 ;
3809+ pub const VM_PAGE_QUERY_PAGE_REF : i32 = 0x4 ;
3810+ pub const VM_PAGE_QUERY_PAGE_DIRTY : i32 = 0x8 ;
3811+ pub const VM_PAGE_QUERY_PAGE_PAGED_OUT : i32 = 0x10 ;
3812+ pub const VM_PAGE_QUERY_PAGE_COPIED : i32 = 0x20 ;
3813+ pub const VM_PAGE_QUERY_PAGE_SPECULATIVE : i32 = 0x40 ;
3814+ pub const VM_PAGE_QUERY_PAGE_EXTERNAL : i32 = 0x80 ;
3815+ pub const VM_PAGE_QUERY_PAGE_CS_VALIDATED : i32 = 0x100 ;
3816+ pub const VM_PAGE_QUERY_PAGE_CS_TAINTED : i32 = 0x200 ;
3817+ pub const VM_PAGE_QUERY_PAGE_CS_NX : i32 = 0x400 ;
3818+
37983819cfg_if ! {
37993820 if #[ cfg( libc_const_extern_fn) ] {
38003821 const fn __DARWIN_ALIGN32( p: usize ) -> usize {
You can’t perform that action at this time.
0 commit comments