dxd - dynax driver framework 2.5.0d148
cross platform open source driver development framework
|
#include "dxd_platform.h"
Classes | |
class | buffer< scope_t, limit_t, alignment_t, contigous_t > |
DriverKit memory buffer w/o alignment and boundary requirements. More... | |
class | map< scope_t, vm_t > |
DriverKit physical address (only relevant for contigous memory) More... | |
Enumerations | |
enum | direction : uint64_t { in = ::kIOMemoryDirectionIn , out = ::kIOMemoryDirectionOut , both = ::kIOMemoryDirectionIn| ::kIOMemoryDirectionOut } |
direction of memory operation More... | |
Functions | |
void | free () |
DriverKit memory free. | |
os_result | initialize (::IOMemoryDescriptor *io_memory_descriptor) |
DriverKit memory initializer. | |
os_result | initialize (::IOMemoryDescriptor *io_memory_descriptor, size_t offset, size_t size, direction direction) |
DriverKit memory initializer. | |
memory ()=default | |
DriverKit default constructor. | |
memory (const memory &memory) | |
::IOMemoryDescriptor * | retain () |
uint64_t | size () const |
DriverKit memory size. | |
~memory () | |
DriverKit memory destructor. | |
Variables | |
os_result | status = not_initialized |
DriverKit memory status. | |
void free | ( | ) |
DriverKit memory free.
Checks the underlaying OS memory descriptor,
synchronizes and unwires it from memory and
releases the memory descriptor.
os_result initialize | ( | ::IOMemoryDescriptor * | io_memory_descriptor | ) |
DriverKit memory initializer.
os_result initialize | ( | ::IOMemoryDescriptor * | io_memory_descriptor, |
size_t | offset, | ||
size_t | size, | ||
direction | direction ) |
DriverKit memory initializer.
|
default |
DriverKit default constructor.
Use this in conjunction with initialize()
memory | ( | const memory & | memory | ) |
::IOMemoryDescriptor * retain | ( | ) |
uint64_t size | ( | ) | const |
DriverKit memory size.
~memory | ( | ) |
DriverKit memory destructor.
os_result status = not_initialized |
DriverKit memory status.
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Aug 22 2025 |