|
dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
|
a buffer as its client sees it: a dext cannot map into its client, so the address stays empty More...
#include <dxd_memory.h>
Public Member Functions | |
| ::IOMemoryDescriptor* | copy() const |
| the descriptor with a reference for the caller, as IOUserClient::CopyClientMemoryForType hands it on | |
| void | free() |
| void | free() |
| os_result | initialize(::IOMemoryDescriptor* io_memory_descriptor, size_t offset= 0) |
| os_result | initialize(::MDL* mdl, size_t offset= 0) |
| map()= default | |
| map()= default | |
| map(::IOMemoryDescriptor* io_memory_descriptor, size_t offset= 0) | |
| map(::MDL* mdl, size_t offset= 0) | |
| operator const ::IOMemoryMap*() const | |
| operator const vm_t*() const | |
| operator vm_t*() const | |
| const vm_t* | operator ->() const |
| operator to use mapping like pointer | |
| operator ::IOMemoryMap*() | |
| size_t | size() const |
| DriverKit mapping size. | |
| ~map() | |
| ~map() | |
Public Attributes | |
| os_result | status{not_initialized} |
Protected Attributes | |
| vm_t* | _vm |
| DriverKit virtual address mapping. | |
| ::IOMemoryMap* | io_memory_map |
a buffer as its client sees it: a dext cannot map into its client, so the address stays empty
WDK: user space memory mapping.
The client maps the descriptor itself - its memory type names it, IOUserClient::CopyClientMemoryForType hands it out - which is why an opened answer from a dext carries no address and the client maps by type.
|
inline |
| offset | MDL describing user space mapping to be createdoffset into memory descriptor to create mapping |
the descriptor with a reference for the caller, as IOUserClient::CopyClientMemoryForType hands it on
|
inline |
|
inline |
| offset | MDL describing user space mapping to be createdoffset into memory descriptor to create mapping |
|
inline |
|
inline |
|
inline |
operator to use mapping like pointer
|
inline |
|
inline |
DriverKit mapping size.
|
protected |
DriverKit virtual address mapping.
|
protected |
| os_result dxd::map<dx::user, vm_t>::status{not_initialized} |