|
| void | free () |
| os_result | initialize (client &, const dx::os_event &os_event) |
| os_result | initialize (::IOMemoryDescriptor *io_memory_descriptor, size_t offset=0, size_t size=0, uint64_t alignment=0, void *address=nullptr) |
| | DriverKit map initializer.
|
| template<typename bus_t> |
| os_result | initialize (unsigned int iosize, unsigned int channels, dx::stream::channel::opened< channel_t > &opened, const dx::stream::channel::open< bus_t > &open) |
| | kernel streaming channel buffer creator
|
| | operator const dx::circular * () const |
| | operator const::IOMemoryMap * () const |
| | operator dx::circular * () const |
| const dx::circular * | operator-> () const |
| | operator to use mapping like pointer
|
| | operator::IOMemoryMap * () |
| template<typename reference_t> |
| int | release (reference_t &reference) |
| os_result | reset () |
| void | retain () |
| os_result | signal () override |
| size_t | size () const |
| | DriverKit mapping size.
|
| os_result | start () |
| os_result | stop (bool force=false) |
| void | trace_outs () const |
| | umap (client &client, const dx::os_event &os_event, stream_t *&stream) |
| | ~umap () |
template<typename channel_t = int>
template<typename stream_t = stream>
class dxd::multichannel::stream< channel_t >::umap< stream_t >
stream user mapping
template<typename channel_t = int>
template<typename stream_t = stream>
detach from stream out channel array
remove channel array: in: removes user mapping from stream owned channel in buffers out: remove channel array: removes channel buffer and mappings
detach from stream owned channel in buffers
de-allocate channel map;
clear channel traces
DriverKit map initializer.
map<kernel> maps an IOMemoryDescriptor (typically cast of a dxd::memory or buffer class) into the DriverKit address space.
kIOMemoryMapFixedAddress map at the address requested
kIOMemoryMapReadOnly create a read only mapping
kIOMemoryMapCacheModeDefault default cache mode
kIOMemoryMapCacheModeInhibit inhibited cache mode
kIOMemoryMapCacheModeCopyback copyback cache mode
kIOMemoryMapCacheModeWriteThrough write through cache mode
Allows re-initialization.
Checks buffer object,
maps the buffer into the DriverKit (will fail if offset is given)
and obtains a DriverKit virtual address (apply offset here instead).
- Parameters
-
| io_memory_descriptor | IOMemoryDescriptor to be mapped into the DriverKit address space |
| offset | offset into memory descriptor to create mapping |
| size | size of mapping |