+#endif /* XNU_KERNEL_PRIVATE */
+
+
+#if KERNEL_PRIVATE
+
+/* kernel map tags */
+/* please add new definition strings to zprint */
+
+#define VM_KERN_MEMORY_NONE 0
+
+#define VM_KERN_MEMORY_OSFMK 1
+#define VM_KERN_MEMORY_BSD 2
+#define VM_KERN_MEMORY_IOKIT 3
+#define VM_KERN_MEMORY_LIBKERN 4
+#define VM_KERN_MEMORY_OSKEXT 5
+#define VM_KERN_MEMORY_KEXT 6
+#define VM_KERN_MEMORY_IPC 7
+#define VM_KERN_MEMORY_STACK 8
+#define VM_KERN_MEMORY_CPU 9
+#define VM_KERN_MEMORY_PMAP 10
+#define VM_KERN_MEMORY_PTE 11
+#define VM_KERN_MEMORY_ZONE 12
+#define VM_KERN_MEMORY_KALLOC 13
+#define VM_KERN_MEMORY_COMPRESSOR 14
+#define VM_KERN_MEMORY_COMPRESSED_DATA 15
+#define VM_KERN_MEMORY_PHANTOM_CACHE 16
+#define VM_KERN_MEMORY_WAITQ 17
+#define VM_KERN_MEMORY_DIAG 18
+#define VM_KERN_MEMORY_LOG 19
+#define VM_KERN_MEMORY_FILE 20
+#define VM_KERN_MEMORY_MBUF 21
+#define VM_KERN_MEMORY_UBC 22
+#define VM_KERN_MEMORY_SECURITY 23
+#define VM_KERN_MEMORY_MLOCK 24
+#define VM_KERN_MEMORY_REASON 25
+#define VM_KERN_MEMORY_SKYWALK 26
+#define VM_KERN_MEMORY_LTABLE 27
+
+#define VM_KERN_MEMORY_FIRST_DYNAMIC 28
+/* out of tags: */
+#define VM_KERN_MEMORY_ANY 255
+#define VM_KERN_MEMORY_COUNT 256
+
+/* end kernel map tags */
+
+// mach_memory_info.flags
+#define VM_KERN_SITE_TYPE 0x000000FF
+#define VM_KERN_SITE_TAG 0x00000000
+#define VM_KERN_SITE_KMOD 0x00000001
+#define VM_KERN_SITE_KERNEL 0x00000002
+#define VM_KERN_SITE_COUNTER 0x00000003
+#define VM_KERN_SITE_WIRED 0x00000100 /* add to wired count */
+#define VM_KERN_SITE_HIDE 0x00000200 /* no zprint */
+#define VM_KERN_SITE_NAMED 0x00000400
+#define VM_KERN_SITE_ZONE 0x00000800
+
+#define VM_KERN_COUNT_MANAGED 0
+#define VM_KERN_COUNT_RESERVED 1
+#define VM_KERN_COUNT_WIRED 2
+#define VM_KERN_COUNT_WIRED_MANAGED 3
+#define VM_KERN_COUNT_STOLEN 4
+#define VM_KERN_COUNT_LOPAGE 5
+#define VM_KERN_COUNT_MAP_KERNEL 6
+#define VM_KERN_COUNT_MAP_ZONE 7
+#define VM_KERN_COUNT_MAP_KALLOC 8
+
+#define VM_KERN_COUNT_WIRED_BOOT 9
+
+#define VM_KERN_COUNT_BOOT_STOLEN 10
+
+#define VM_KERN_COUNTER_COUNT 11
+
+#endif /* KERNEL_PRIVATE */