|
void | free () |
| kernel map free
|
|
void | free () |
|
dxd::os_result | initialize () |
|
os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor) |
| IOKit memory initializer.
|
|
os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor) |
| IOKit memory initializer.
|
|
os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor, size_t offset, size_t size) |
| IOKit memory initializer.
|
|
os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor, size_t offset, size_t size) |
| IOKit memory initializer.
|
|
os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor, size_t offset=0) |
| IOKit kernel map initializer.
|
|
os_result | initialize (const void *data, size_t size) |
| IOKit memory initializer.
|
|
os_result | initialize (const void *data, size_t size) |
| IOKit memory initializer.
|
|
os_result | initialize (const::MDL *mdl) |
|
os_result | initialize (const::MDL *mdl) |
|
os_result | initialize (const::MDL *mdl, size_t offset, size_t size) |
|
os_result | initialize (const::MDL *mdl, size_t offset, size_t size) |
|
os_result | initialize (size_t size, unsigned int limit=64, unsigned int alignment=0, bool contigous=false) |
| IOKit buffer initializer.
|
|
os_result | initialize (void *data, size_t size) |
| IOKit memory initializer.
|
|
os_result | initialize (void *data, size_t size) |
| IOKit memory initializer.
|
|
| operator const dx::stream::clock::monitor * () const |
|
| operator const::IOMemoryDescriptor * () const |
| IOKit IOMemoryDescriptor* implicit cast.
|
|
| operator const::IOMemoryDescriptor * () const |
| IOKit IOMemoryDescriptor* implicit cast.
|
|
| operator const::IOMemoryMap * () const |
|
| operator dx::stream::clock::monitor * () const |
|
| operator uint64_t () const |
| IOKit physical address (only relevant for contigous memory)
|
|
| operator uint64_t () const |
| IOKit physical address (only relevant for contigous memory)
|
|
dx::stream::clock::monitor * | operator-> () |
|
const dx::stream::clock::monitor * | operator-> () const |
| operator to use mapping like pointer
|
|
| operator::IOMemoryDescriptor * () |
|
| operator::IOMemoryDescriptor * () |
|
| operator::IOMemoryMap * () |
|
| operator::MDL * () const |
|
| operator::MDL * () const |
|
size_t | size () const |
| IOKit memory size.
|
|
size_t | size () const |
| IOKit memory size.
|
|
size_t | size () const |
| kernel mapping size
|
|
template<
typename channel_t = int>
class dxd::multichannel::stream< channel_t >::clock::monitor
clock::monitor buffer to be shared with user client mappings to measure jitter and latencies at various levels (IRQ, DPC, ASIO)
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 |