+typedef struct vm_shared_region_slide_info_entry *vm_shared_region_slide_info_entry_t;
+struct vm_shared_region_slide_info_entry {
+ uint32_t version;
+ uint32_t toc_offset; // offset from start of header to table-of-contents
+ uint32_t toc_count; // number of entries in toc (same as number of pages in r/w mapping)
+ uint32_t entry_offset;
+ uint32_t entry_count;
+};
+
+#define NBBY 8
+#define NUM_SLIDING_BITMAPS_PER_PAGE (0x1000/sizeof(int)/NBBY) /*128*/
+typedef struct slide_info_entry_toc *slide_info_entry_toc_t;
+struct slide_info_entry_toc {
+ uint8_t entry[NUM_SLIDING_BITMAPS_PER_PAGE];
+};
+
+typedef struct vm_shared_region_slide_info *vm_shared_region_slide_info_t;
+struct vm_shared_region_slide_info {
+ mach_vm_offset_t start;
+ mach_vm_offset_t end;
+ uint32_t slide;
+ vm_object_t slide_object;
+ mach_vm_size_t slide_info_size;
+ vm_shared_region_slide_info_entry_t slide_info_entry;
+};
+