|
dxd - dynax driver framework 2.6.0d172
cross platform open source driver development framework
|
virtual kernel memory description More...
#include <dxd_memory.h>
Inheritance diagram for dxd::memory< scope_t >:Public Member Functions | |
| void | free () |
| IOKit memory free. | |
| void | free () |
| 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 (const void *data, size_t size) |
| IOKit memory initializer. | |
| os_result | initialize (const void *data, size_t size) |
| os_result | initialize (const::MDL *mdl) |
| os_result | initialize (const::MDL *mdl, size_t offset, size_t size) |
| os_result | initialize (void *data, size_t size) |
| IOKit memory initializer. | |
| memory ()=default | |
| IOKit default constructor. | |
| memory ()=default | |
| memory (const void *data, size_t size) | |
| IOKit class constructor. | |
| memory (const void *data, size_t size) | |
| WDK memory constructor. | |
| memory (const::MDL *mdl) | |
| operator const::IOMemoryDescriptor * () const | |
| IOKit IOMemoryDescriptor* implicit cast. | |
| operator uint64_t () const | |
| IOKit physical address (only relevant for contigous memory) | |
| operator::IOMemoryDescriptor * () | |
| operator::MDL * () const | |
| size_t | size () const |
| IOKit memory size. | |
| ~memory () | |
| IOKit memory destructor. | |
| virtual | ~memory () |
| WDK: memory destructor. | |
Public Attributes | |
| os_result | status =not_initialized |
| IOKit memory status. | |
virtual kernel memory description
WDK: virtual kernel memory description.
The dxd::memory is a kernel memory representation of the kernels virtual memory description. It is an internally used wrapper to generate a virtual kernel memory representation from a platform independent pointer:size description.
|
default |
IOKit default constructor.
Use this in conjunction with initialize()
|
inline |
IOKit class constructor.
Calls initialize() member.
| data | virtual base address of range to create memory descriptor from |
| size | size of range to create memory descriptor from |
Here is the call graph for this function:
|
inline |
|
default |
|
inline |
WDK memory constructor.
| data | source data pointer |
| size | source data size |
Here is the call graph for this function:
|
inline |
| mdl | source MDL |
Here is the call graph for this function:
|
inlinevirtual |
WDK: memory destructor.
Here is the call graph for this function:
|
inline |
IOKit memory free.
Checks the underlaying OS memory descriptor,
synchronizes and unwires it from memory and
releases the memory descriptor.
| void dxd::memory< scope_t >::free | ( | ) |
|
inline |
IOKit memory initializer.
Here is the call graph for this function:
|
inline |
IOKit memory initializer.
Here is the call graph for this function:| os_result dxd::memory< scope_t >::initialize | ( | const void * | data, |
| size_t | size ) |
IOKit memory initializer.
| data | virtual base address of range to create memory descriptor from |
| size | size of range to create memory descriptor from |
| os_result dxd::memory< scope_t >::initialize | ( | const void * | data, |
| size_t | size ) |
|
inline |
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!
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:| os_result dxd::memory< scope_t >::initialize | ( | void * | data, |
| size_t | size ) |
IOKit memory initializer.
| data | virtual base address of range to create memory descriptor from |
| size | size of range to create memory descriptor from |
|
inline |
IOKit IOMemoryDescriptor* implicit cast.
|
inline |
IOKit physical address (only relevant for contigous memory)
|
inline |
|
inline |
|
inline |
IOKit memory size.
IOKit memory status.
status of memory object
| (c) copyright 2009 dynamic acoustics e.U. | generated on Mon Nov 3 2025 |