dxd - dynax driver framework 2.1.0d71
cross platform open source driver development framework
|
clock::monitor buffer to be shared with user client mappings to measure jitter and latencies at various levels (IRQ, DPC, ASIO) More...
#include <dxd_stream.h>
Public Member Functions | |
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 | |
Public Attributes | |
dx::stream::clock::monitor * | cache =nullptr |
os_result | status |
IOKit memory status. | |
os_result | status =not_initialized |
IOKit memory status. | |
os_result | status |
status of mapping object | |
Protected Attributes | |
dx::stream::clock::monitor * | _vm |
kernel virtual address mapping | |
::IOMemoryMap * | iokit_memory_map |
clock::monitor buffer to be shared with user client mappings to measure jitter and latencies at various levels (IRQ, DPC, ASIO)
|
inlineinherited |
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.
|
inlineinherited |
|
inline |
|
inlineinherited |
IOKit memory initializer.
|
inlineinherited |
IOKit memory initializer.
|
inlineinherited |
IOKit memory initializer.
|
inlineinherited |
IOKit memory initializer.
|
inlineinherited |
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).
iokit_memory_descriptor | IOMemoryDescriptor to be mapped into the kernel address space |
offset | offset into memory descriptor to create mapping |
|
inherited |
IOKit memory initializer.
data | virtual base address of range to create memory descriptor from |
size | size of range to create memory descriptor from |
|
inherited |
IOKit memory initializer.
data | virtual base address of range to create memory descriptor from |
size | size of range to create memory descriptor from |
|
inlineinherited |
in contrast to an IOKit MemoryDescriptor MDLs do not support reference counting. take care when creating a dxd::memory from a dxd::buffer: although the dxd::memory holds an MDL to the buffer the buffer itself is not retained after the dxd::buffer is released!
|
inlineinherited |
in contrast to an IOKit MemoryDescriptor MDLs do not support reference counting. take care when creating a dxd::memory from a dxd::buffer: although the dxd::memory holds an MDL to the buffer the buffer itself is not retained after the dxd::buffer is released!
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
IOKit buffer initializer.
Allows re-initialization.
Creates a buffer and associated memory descriptor.
Wires down the backing store memory.
size | size to be alloced by buffer object |
limit | limit physical memory address space |
alignment | enforce physical memory alignment |
contigous | enforce contiguos physical memory |
|
inherited |
IOKit memory initializer.
data | virtual base address of range to create memory descriptor from |
size | size of range to create memory descriptor from |
|
inherited |
IOKit memory initializer.
data | virtual base address of range to create memory descriptor from |
size | size of range to create memory descriptor from |
|
inlineinherited |
|
inlineinherited |
IOKit IOMemoryDescriptor* implicit cast.
|
inlineinherited |
IOKit IOMemoryDescriptor* implicit cast.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
IOKit physical address (only relevant for contigous memory)
|
inlineinherited |
IOKit physical address (only relevant for contigous memory)
|
inlineinherited |
|
inlineinherited |
operator to use mapping like pointer
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
IOKit memory size.
|
inlineinherited |
IOKit memory size.
|
inlineinherited |
kernel mapping size
|
protectedinherited |
kernel virtual address mapping
dx::stream::clock::monitor* dxd::multichannel::stream< channel_t >::clock::monitor::cache =nullptr |
|
protectedinherited |
|
inherited |
IOKit memory status.
status of memory object
|
inherited |
IOKit memory status.
status of memory object
|
inherited |
status of mapping object
(c) copyright 2009 dynamic acoustics e.U. | generated on Wed Oct 2 2024 |