dxd - dynax driver framework 2.1.0d73
cross platform open source driver development framework
|
IOKit: FireWire address space. More...
#include <dxd_fw.h>
Public Member Functions | |
address () | |
virtual void | free () |
IOKit address space free. | |
void | free () |
os_result | initialize (::IOFireWireUnit *iokit_fw_unit, uint64_t space, size_t size32) |
IOKit: firewire address space initializer. | |
os_result | initialize (const dxd::fw &fw, uint64_t space, size_t size32) |
WDK: firewire pseudeo address space initializer. | |
virtual | ~address () |
IOKit: address space destructor. | |
virtual | ~address () |
Public Attributes | |
size_t | size32 |
uint64_t | space =0 |
firewire address | |
os_result | status =not_initialized |
object status | |
Protected Member Functions | |
virtual os_result | write (uint64_t space, const unsigned int *data32, size_t size32) |
IOKit: FireWire address space.
Infrastructure to open a firewire pseudo address space and handle external device I/O requests to it.
|
inline |
IOKit: address space destructor.
|
inline |
|
inline |
|
inlinevirtual |
IOKit address space free.
Reimplemented in dxd::fw::phy, and dxd::fw::phy.
|
inline |
|
inline |
IOKit: firewire address space initializer.
Allows re-initialization.
Checks for valid fw unit object,
checks firewire device state,
creates a pdeudo address space,
returns the address and
activates the firewire space.
iokit_fw_unit | firewire unit to create the address space for |
space | firewire address |
size32 | firewire address space size |
WDK: firewire pseudeo address space initializer.
Make sure to free the address space as long as there is a valid connection to the device object (i.e. during device::conclude() or device::sleep(). The system will crash after the driver was unloaded if the device writes into a previously allocated address space - even if the address space has been re-allocated after re-loading the driver!
Allows re-initialization.
iterates over all fifo elements and for each fifo elements:
constructs the appropriate irb
and submits it to the lower device,
obtains an handle to windows representation of the spawned address space,
retrieves the actual address and length of firewire space.
|
inlineprotectedvirtual |
size_t dxd::fw::address::size32 |
uint64_t dxd::fw::address::space =0 |
firewire address
os_result dxd::fw::address::status =not_initialized |
object status
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Nov 15 2024 |