stream user mapping
More...
#include <dxd_stream.h>
template<typename stream_t = stream>
class dxd::stream::umap< stream_t >
stream user mapping
template<typename stream_t = stream>
template<typename stream_t = stream>
releases this stream reference and nulls stream pointer if it was the last reference
kernel map free
Checks if kernel mapping already exists and
does not call unmap(): IOMemoryMap instances will unmap themselves upon free, ie. when the last client with a reference calls release. unmap() forces the IOMemoryMap to destroy the mapping it represents, regardless of the number of clients. releases the map object.
IOKit kernel map initializer.
map<kernel> maps an IOMemoryDescriptor (typically cast of a dxd::memory or buffer class) into the kernel address space.
https://developer.apple.com/library/content/qa/qa1197/_index.html
Allows re-initialization.
Checks buffer object,
maps the buffer into the kernel (will fail if offset is given)
and obtains a kernel virtual address (apply offset here instead).
- Parameters
-
iokit_memory_descriptor | IOMemoryDescriptor to be mapped into the kernel address space |
offset | offset into memory descriptor to create mapping |
undocumented OSX hack: mark 64bit async ref
operator to use mapping like pointer
template<typename reference_t >
int dxd::referenced::release |
( |
reference_t & |
reference | ) |
|
|
inlineinherited |
void dxd::referenced::retain |
( |
| ) |
|
|
inlineinherited |
template<typename stream_t = stream>
template<typename stream_t = stream>
kernel virtual address mapping
atomic<int> dxd::referenced::references =0 |
|
inherited |
template<typename stream_t = stream>
The documentation for this class was generated from the following file: