X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/593a1d5fd87cdf5b46dd5fcb84467b432cea0f91..c910b4d9d2451126ae3917b931cd4390c11e1d52:/iokit/IOKit/IOMemoryDescriptor.h?ds=sidebyside diff --git a/iokit/IOKit/IOMemoryDescriptor.h b/iokit/IOKit/IOMemoryDescriptor.h index 080f692f5..ea04c67e2 100644 --- a/iokit/IOKit/IOMemoryDescriptor.h +++ b/iokit/IOKit/IOMemoryDescriptor.h @@ -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);