dxd - dynax driver framework 2.6.0d206
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::pci Class Reference

#include <dxd_pci.h>

Inheritance diagram for dxd::pci:
Collaboration diagram for dxd::pci:

Classes

struct  resources
class  scatter_gather

Public Member Functions

 operator const ::HANDLE () const
 operator::IOPCIDevice * () const
 IOKit IOPCIDevice* implicit cast.
template<typename type_t>
os_result query (const ::UNICODE_STRING &key, type_t &value)
template<typename key_t, typename type_t>
os_result query (key_t *key, type_t &value)
os_result remove ()
os_result set (const ::UNICODE_STRING &key, const ::GUID &value)
os_result set (const ::UNICODE_STRING &key, const ::UNICODE_STRING &value)
os_result set (const ::UNICODE_STRING &key, const char *value)
os_result set (const ::UNICODE_STRING &key, const wchar_t *value)
os_result set (const ::UNICODE_STRING &key, unsigned int value)
template<typename key_t, typename type_t>
os_result set (key_t *key, const type_t &value)
template<typename type_t>
unsigned long type ()

Public Attributes

os_result status = not_initialized

Protected Member Functions

void conclude () override
 IOKit: Main driver finalization.
virtual bool irq (int, int64_t)
 IOKit: high priority interrupt request indication.
virtual os_result irq_disable ()
 IOKit: disable hardware irq handler.
virtual os_result irq_enable ()
 IOKit: enable hardware irq handler.
virtual os_result isr (int)
 IOKit: lowered priority interrupt service handler.
os_result launch () override
 IOKit: Main driver entry.

Protected Attributes

resources hw

Member Function Documentation

◆ conclude()

void dxd::pci::conclude ( )
inlineoverrideprotected

IOKit: Main driver finalization.

conclude() is one of the driver-supplied routines that is called before a driver is to be removed. It is responsible for freeing all resource the driver acquired during launch().

◆ irq()

virtual bool dxd::pci::irq ( int ,
int64_t  )
inlineprotectedvirtual

IOKit: high priority interrupt request indication.

◆ irq_disable()

virtual os_result dxd::pci::irq_disable ( )
inlineprotectedvirtual

IOKit: disable hardware irq handler.

◆ irq_enable()

virtual os_result dxd::pci::irq_enable ( )
inlineprotectedvirtual

IOKit: enable hardware irq handler.

◆ isr()

virtual os_result dxd::pci::isr ( int )
inlineprotectedvirtual

IOKit: lowered priority interrupt service handler.

◆ launch()

os_result dxd::pci::launch ( )
inlineoverrideprotected

IOKit: Main driver entry.

launch() is one of the dynax driver frameword-supplied routines that is called after this driver is loaded. It is responsible for initializing the driver.

PCI memory windows and interrupts will be created and connected by the framework, the hw member will be filled out accordingly.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator const ::HANDLE()

dxd::wdm::registry::operator const ::HANDLE ( ) const
inlineinherited
Here is the caller graph for this function:

◆ operator::IOPCIDevice *()

dxd::pci::operator::IOPCIDevice * ( ) const
inline

IOKit IOPCIDevice* implicit cast.

◆ query() [1/2]

template<typename type_t>
os_result dxd::wdm::registry::query ( const ::UNICODE_STRING & key,
type_t & value )
inlineinherited

◆ query() [2/2]

template<typename key_t, typename type_t>
os_result dxd::wdm::registry::query ( key_t * key,
type_t & value )
inlineinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove()

os_result dxd::wdm::registry::remove ( )
inlineinherited

◆ set() [1/6]

os_result dxd::wdm::registry::set ( const ::UNICODE_STRING & key,
const ::GUID & value )
inlineinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [2/6]

os_result dxd::wdm::registry::set ( const ::UNICODE_STRING & key,
const ::UNICODE_STRING & value )
inlineinherited

◆ set() [3/6]

os_result dxd::wdm::registry::set ( const ::UNICODE_STRING & key,
const char * value )
inlineinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [4/6]

os_result dxd::wdm::registry::set ( const ::UNICODE_STRING & key,
const wchar_t * value )
inlineinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [5/6]

os_result dxd::wdm::registry::set ( const ::UNICODE_STRING & key,
unsigned int value )
inlineinherited

◆ set() [6/6]

template<typename key_t, typename type_t>
os_result dxd::wdm::registry::set ( key_t * key,
const type_t & value )
inlineinherited
Here is the call graph for this function:
Here is the caller graph for this function:

◆ type()

template<typename type_t>
unsigned long dxd::wdm::registry::type ( )
inherited
Here is the caller graph for this function:

Member Data Documentation

◆ hw

resources dxd::pci::hw
protected

◆ status

os_result dxd::wdm::registry::status = not_initialized
inherited

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.