#include <mach_debug/vm_info.h>

mach_debug/vm_info.h

File: mach_debug/vm_info.h Author: Rich Draves Date: March, 1990 Definitions for the VM debugging interface.
5 typedefs · 4 structs

structmach_vm_info_region

Remember to update the mig type definitions in mach_debug_types.defs when adding/removing fields.
size 56, align 4
mach_vm_offset_tvir_startstart of region
mach_vm_offset_tvir_endend of region
mach_vm_offset_tvir_objectthe mapped object(kernal addr)
memory_object_offset_tvir_offsetoffset into object
boolean_tvir_needs_copydoes object need to be copied?
vm_prot_tvir_protectionprotection code
vm_prot_tvir_max_protectionmaximum protection
vm_inherit_tvir_inheritanceinheritance
natural_tvir_wired_countnumber of times wired
natural_tvir_user_wired_countnumber of times user has wired

typedefmach_vm_info_region_t

typedef struct mach_vm_info_region mach_vm_info_region_t;

structvm_info_region_64

size 44, align 4
natural_tvir_startstart of region
natural_tvir_endend of region
natural_tvir_objectthe mapped object
memory_object_offset_tvir_offsetoffset into object
boolean_tvir_needs_copydoes object need to be copied?
vm_prot_tvir_protectionprotection code
vm_prot_tvir_max_protectionmaximum protection
vm_inherit_tvir_inheritanceinheritance
natural_tvir_wired_countnumber of times wired
natural_tvir_user_wired_countnumber of times user has wired

typedefvm_info_region_64_t

typedef struct vm_info_region_64 vm_info_region_64_t;

structvm_info_region

size 40, align 4
natural_tvir_startstart of region
natural_tvir_endend of region
natural_tvir_objectthe mapped object
natural_tvir_offsetoffset into object
boolean_tvir_needs_copydoes object need to be copied?
vm_prot_tvir_protectionprotection code
vm_prot_tvir_max_protectionmaximum protection
vm_inherit_tvir_inheritanceinheritance
natural_tvir_wired_countnumber of times wired
natural_tvir_user_wired_countnumber of times user has wired

typedefvm_info_region_t

typedef struct vm_info_region vm_info_region_t;

structvm_info_object

size 88, align 4
natural_tvio_objectthis object
natural_tvio_sizeobject size (valid if internal - but too small)
unsigned intvio_ref_countnumber of references
unsigned intvio_resident_page_countnumber of resident pages
unsigned intvio_absent_countnumber requested but not filled
natural_tvio_copycopy object
natural_tvio_shadowshadow object
natural_tvio_shadow_offsetoffset into shadow object
natural_tvio_paging_offsetoffset into memory object
memory_object_copy_strategy_tvio_copy_strategy
vm_offset_tvio_last_allochow to handle data copy offset of last allocation
unsigned intvio_paging_in_progressmany random attributes
boolean_tvio_pager_created
boolean_tvio_pager_initialized
boolean_tvio_pager_ready
boolean_tvio_can_persist
boolean_tvio_internal
boolean_tvio_temporary
boolean_tvio_alive
boolean_tvio_purgable
boolean_tvio_purgable_volatile

typedefvm_info_object_t

typedef struct vm_info_object vm_info_object_t;

typedefvm_info_object_array_t

typedef vm_info_object_t *vm_info_object_array_t