dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::fw::phy Class Reference

#include <dxd_fw.h>

Public Member Functions

void free ()
template<class sgl_t>
os_result initialize (const dxd::fw &fw, ::MDL *mdl, unsigned int &segments, sgl_t &sgl)
 phy ()
virtual ~phy ()

Public Attributes

os_result status

Detailed Description

Todo
templatize endianism!

Constructor & Destructor Documentation

◆ phy()

dxd::fw::phy::phy ( )
inline
Here is the call graph for this function:

◆ ~phy()

virtual dxd::fw::phy::~phy ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ free()

void dxd::fw::phy::free ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize()

template<class sgl_t>
os_result dxd::fw::phy::initialize ( const dxd::fw & fw,
::MDL * mdl,
unsigned int & segments,
sgl_t & sgl )
inline

Allows re-initialization.

limit SGL elements

against size of the buffer described by the provided MDL,

create temporary buffer to receive address space segments

constructs the appropriate irb, if necessary applies workaround for bounce buffer bug in 64 bit Windows with more than 4GB physical memory,

Todo
remove workaround using pseudo address space if physical memory is located above 4GB (Bill cannot handle this bidirectionally: content will not be flushed back from bounce buffers)

and submits it to the lower device,

obtains an handle to windows representation of the spawned address space,

checks returned number of physical segments,

obtains number of physical segments,

converts physical segment range into user supplied structure

Parameters
mdlbacking store: needs to be mapped below 4GB boundary or
segmentscorrect paging needs to be ensured
Here is the call graph for this function:

Member Data Documentation

◆ status

os_result dxd::fw::phy::status

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.