]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/vm_region.h
xnu-517.11.1.tar.gz
[apple/xnu.git] / osfmk / mach / vm_region.h
index 1fd3e24925adc10e992266bb4976dbde5cd5cf33..4747068e61a43f69bd334019d7b7b7cf481dc612 100644 (file)
@@ -229,6 +229,28 @@ typedef struct vm_region_submap_info_64             vm_region_submap_info_data_64_t;
        (sizeof(vm_region_submap_info_data_64_t)/sizeof(int))
 
 
+#define VM_REGION_OBJECT_INFO_64       13
+
+struct vm_region_object_info_64 {
+       vm_prot_t               protection;
+       vm_prot_t               max_protection;
+       vm_inherit_t            inheritance;
+       boolean_t               shared;
+       boolean_t               is_sub_map;
+       vm_object_offset_t      offset;
+       vm_behavior_t           behavior;
+       unsigned short          user_wired_count;
+       vm_offset_t             object_id;
+};
+
+typedef struct vm_region_object_info_64                *vm_region_object_info_64_t;
+typedef struct vm_region_object_info_64                 vm_region_object_info_data_64_t;
+
+#define VM_REGION_OBJECT_INFO_COUNT_64         \
+       (sizeof(vm_region_object_info_data_64_t)/sizeof(int))
+
+
+
 struct vm_read_entry {
        vm_address_t    address;
        vm_size_t       size;