]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IOMemoryDescriptor.h
xnu-1228.12.14.tar.gz
[apple/xnu.git] / iokit / IOKit / IOMemoryDescriptor.h
index 080f692f59228bb5626aae5419aca557618ff62d..ea04c67e2a73ab571fdea3b729803660ed9d8a12 100644 (file)
@@ -78,8 +78,15 @@ enum {
     kIOMemoryAsReference       = 0x00000100,
     kIOMemoryBufferPageable    = 0x00000400,
     kIOMemoryDontMap           = 0x00000800,
+#ifdef XNU_KERNEL_PRIVATE
+    kIOMemoryRedirected                = 0x00004000,
+    kIOMemoryPreparedReadOnly  = 0x00008000,
+#endif
     kIOMemoryPersistent                = 0x00010000,
-    kIOMemoryThreadSafe                = 0x00020000
+#ifdef XNU_KERNEL_PRIVATE
+    kIOMemoryReserved6156215   = 0x00020000,
+#endif
+    kIOMemoryThreadSafe                = 0x00100000,   // Shared with Buffer MD
 };
 
 #define kIOMapperNone  ((IOMapper *) -1)
@@ -742,13 +749,6 @@ public:
 // might be created by IOMemoryDescriptor::withAddress(), but there should be 
 // no need to reference as anything but a generic IOMemoryDescriptor *.
 
-// Also these flags should not overlap with the options to
-//     IOMemoryDescriptor::initWithRanges(... IOOptionsBits options);
-
-enum {
-    kIOMemoryPreparedReadOnly  = 0x00008000,
-};
-
 class IOGeneralMemoryDescriptor : public IOMemoryDescriptor
 {
     OSDeclareDefaultStructors(IOGeneralMemoryDescriptor);