OAL_DDK_PARAMS (Compact 2013)
10/16/2014
This structure contains information that the OALIoCtlHalDdkCall function uses when calling the OAL.
Syntax
typedef struct {
UINT32 function;
UINT32 rc;
union {
struct {
DEVICE_LOCATION devLoc;
UINT32 offset;
UINT32 length;
VOID *pBuffer;
} busData;
struct {
INTERFACE_TYPE ifcType;
UINT32 busNumber;
UINT32 space;
UINT64 address;
} transAddress;
struct {
INTERFACE_TYPE ifcType;
UINT32 busNumber;
} busPower;
};
} OAL_DDK_PARAMS;
Members
- function
[in] IOCTL that specifies which function to call. Set to IOCTL_OAL_READBUSDATA, IOCTL_OAL_WRITEBUSDATA, IOCTL_OAL_TRANSBUSADDRESS, IOCTL_OAL_TRANSSYSADDRESS, IOCTL_OAL_BUSPOWEROFF, or IOCTL_OAL_BUSPOWERON.
- rc
[out] Return code from the function member.
- devLoc
[in] Pointer to a DEVICE_LOCATION structure.
- offset
[in] Offset into the buffer.
- length
[in] Length of the buffer.
- pBuffer
[in] Pointer to a buffer.
- ifcType
[in] Bus type specified by the INTERFACE_TYPE enumeration.
- busNumber
[in] Bus number for the device, used with ifcType to identify the bus for systems with more than one bus of the same type.
- space
[in] Pointer to a port number or a memory address. space 0x0 indicates memory, 0x1 indicates I/O space.
- address
[in] Bus-relative address or the system address.
- ifcType
[in] Bus type specified by the INTERFACE_TYPE enumeration.
- busNumber
[in] Bus number for the device, used with ifcType to identify the bus for systems with more than one bus of the same type.
Requirements
Header |
oal_io.h |
Library |
Developer Implemented |