|
dxd - dynax driver framework 2.6.0d170
cross platform open source driver development framework
|
stream user mapping More...
#include <dxd_stream.h>
Inheritance diagram for dxd::stream::umap< stream_t >:
Collaboration diagram for dxd::stream::umap< stream_t >:Public Member Functions | |
| void | free () |
| kernel map free | |
| os_result | initialize (::IOMemoryDescriptor *iokit_memory_descriptor, size_t offset=0) |
| IOKit kernel map initializer. | |
| operator const vm_t * () const | |
| operator const::IOMemoryMap * () const | |
| operator vm_t * () const | |
| vm_t * | operator-> () |
| const vm_t * | operator-> () const |
| operator to use mapping like pointer | |
| operator::IOMemoryMap * () | |
| template<typename reference_t > | |
| int | release (reference_t &reference) |
| void | retain () |
| size_t | size () const |
| kernel mapping size | |
| os_result | start () |
| os_result | stop (bool force=false) |
| umap (client &client, const dx::os_event &os_event, stream_t *&stream) | |
| ~umap () | |
Public Attributes | |
| dxd::abstract::event & | reference |
| atomic< int > | references {} |
| os_result | status =not_initialized |
| status of mapping object | |
Protected Attributes | |
| vm_t * | _vm =nullptr |
| kernel virtual address mapping | |
| ::IOMemoryMap * | iokit_memory_map =nullptr |
| atomic< item_t * > | next =nullptr |
| stream_t *& | stream |
| auto nulling reference | |
stream user mapping
|
inline |
insert broadcast user event
Here is the call graph for this function:
|
inline |
remove broadcast user event
releases this stream reference and nulls stream pointer if it was the last reference
Here is the call graph for this function:
|
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 |
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 |
Here is the call graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator to use mapping like pointer
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Here is the caller graph for this function:
|
inlineinherited |
kernel mapping size
|
inline |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedinherited |
kernel virtual address mapping
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
status of mapping object
|
protected |
auto nulling reference
| (c) copyright 2009 dynamic acoustics e.U. | generated on Fri Oct 31 2025 |