CEDDK Dynamic-Link Library Bus Access Functions (Windows CE 5.0)
Device Manager provides parent bus driver handles in the Active registry key. This enables subordinate drivers to access these bus functions. A set of functions can be created in CEDDK.dll to help subordinate drivers access its bus. The following table shows the functions that are provided for drivers to access the CEDDK.dll bus driver.
Function | Description |
---|---|
BusIoControl | This function executes the CEDDK Dynamic-Link Library Bus Access IOCTLs. |
BusTransBusAddrToStatic | This function translates a bus address to a system address. Then, it creates a static, process independent, virtual address mapping for that address. |
BusTransBusAddrToVirtual | This function translates a bus address to a virtual system address. |
CalibrateStallCounter | This function calibrates the delay interval for StallExecution. |
CloseBusAccessHandle | This function closes the handle that CreateBusAccessHandle allocated. |
CreateBusAccessHandle | This function creates a handle that can be used for accessing a bus. |
GetBusNamePrefix | This function returns the bus prefix name. |
GetChildDeviceRemoveState | This function polls the hardware to determine whether it has been removed. |
GetDeviceConfigurationData | This function retrieves configuration data from a device's configuration address space. |
GetDevicePowerState | This function requests that the bus driver return the current power state of the device. |
GetParentDeviceInfo | This function retrieves the device information of the parent bus driver. |
HalGetBusData | This function retrieves configuration information about a specified slot or address on an I/O bus. |
HalGetBusDataByOffset | This function retrieves information, starting at the offset, about a slot or address on an I/O bus. |
HalSetBusData | This function sets bus-configuration data for a slot or address on a bus. |
HalSetBusDataByOffset | This function sets bus-configuration data for a device on a dynamically configurable I/O bus with a published, standard interface. |
HalTranslateBusAddress | This function translates a physical bus address to a physical system address. |
SetDeviceConfigurationData | This function sets configuration data in a device's configuration address space. |
SetDevicePowerState | This function requests that the bus driver set this device to the power state specified by PowerState. |
StallExecution | This function stalls the caller on the current processor for a given interval. |
TranslateBusAddr | This function translates a physical bus address to a physical system address. |
TranslateSystemAddr | This function translates a physical system address to a physical bus address. |
Send Feedback on this topic to the authors