|
dxd - dynax driver framework 2.6.0d170
cross platform open source driver development framework
|
DriverKit memory buffer w/o alignment and boundary requirements. More...
#include <dxd_memory.h>
Inheritance diagram for buffer< scope_t, limit_t, alignment_t, contigous_t >:
Collaboration diagram for buffer< scope_t, limit_t, alignment_t, contigous_t >:Public Member Functions | |
| buffer ()=default | |
| DriverKit default buffer constructor. | |
| buffer (size_t size, unsigned int limit=limit_t, unsigned int alignment=alignment_t, bool contigous=contigous_t) | |
| DriverKit buffer constructor. | |
| void | free () |
| void | free () |
| os_result | initialize (const void *data, size_t size) |
| IOKit memory initializer from kernel virtual addresses. | |
| os_result | initialize (size_t size, unsigned int=limit_t, unsigned int alignment=alignment_t, bool=contigous_t) |
| DriverKit buffer initializer. | |
| os_result | initialize (void *data, size_t size) |
| IOKit memory initializer from kernel virtual addresses. | |
DriverKit memory buffer w/o alignment and boundary requirements.
The dxd::buffer is a DriverKit memory representation with an associated memory backing store allocation. The memory backing store is owned by this DriverKit memory representation and the reference will be released when this object is destroyed.
|
default |
DriverKit default buffer constructor.
Use this in conjunction with initialize()
|
inline |
DriverKit buffer constructor.
| size | size to be alloced by buffer object |
| limit | limit physical memory address space |
| alignment | enforce physical memory alignment |
| contigous | enforce contiguos physical memory |
Here is the call graph for this function:
|
inherited |
|
inherited |
IOKit memory initializer from kernel virtual addresses.
Allows re-initialization.
Creates OS memory descriptor from kernel space data,size and
wires it down and synchronizes it.
| data | virtual read only kernel base address of range to create memory descriptor from |
| size | size of range to create memory descriptor from |
|
inline |
DriverKit buffer initializer.
Allows re-initialization.
Creates a buffer and associated memory descriptor.
| size | size to be alloced by buffer object |
| alignment | enforce physical memory alignment |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
IOKit memory initializer from kernel virtual addresses.
Allows re-initialization.
Creates OS memory descriptor from kernel space data,size and
wires it down and synchronizes it.
| data | virtual kernel base address of range to create memory descriptor from |
| size | size of range to create memory descriptor from |
| (c) copyright 2009 dynamic acoustics e.U. | generated on Mon Nov 3 2025 |