PDCARD_WINDOW_INFO

This structure is used by the PDCardInquireWindow function to report a memory or I/O window’s characteristics and capabilities.

Syntax

typedef struct {
UINT16 fSockets;
UINT16 fWindowCaps;
UINT16 fMemoryCaps;
UINT16 fIOCaps;
UINT32 uMemFirstByte;
UINT32 uMemLastByte;
UINT32 uMemMinSize;
UINT32 uMemMaxSize;
UINT32 uMemGranularity;
UINT32 uMemBase;
UINT32 uMemOffset;
UINT32 uIOFirstByte;
UINT32 uIOLastByte;
UINT32 uIOMinSize;
UINT32 uIOMaxSize;
UINT32 uIOGranularity;
UINT8 uAddressLines;
UINT8 fSlowest;
UINT8 fFastest;
} PDCARD_WINDOW_INFO;

Members

fSockets
A flag indicating the socket number. Bit 0 corresponds to socket 0, and bit 1 corresponds to socket 1.
fWindowCaps
Specifies bit-encoded window capabilities.
fMemoryCaps
Specifies bit-encoded memory window capabilities.
fIOCaps
Specifies bit-encoded I/O window capabilities.
uMemFirstByte
Specifies the physical address of the first addressable byte.
uMemLastByte
Specifies the physical address of the last addressable byte.
uMemMinSize
Specifies the minimum memory window size, in bytes.
uMemMaxSize
Specifies the maximum memory window size.
uMemGranularity
Specifies the required window granularity.
uMemBase
Specifies the required window base address alignment.
uMemOffset
Specifies the required card offset alignment.
uIOFirstByte
Specifies the physical address of the first addressable byte.
uIOLastByte
Specifies the physical address of the last addressable byte.
uIOMinSize
Specifies the minimum memory window size, in bytes.
uIOMaxSize
Specifies the maximum memory window size, in bytes.
uIOGranularity
Specifies the required memory window granularity.
uAddressLines
Specifies the number of I/O lines decoded.
fSlowest
Specifies the bit-encoded slowest access speed.
fFastest
Specifies the bit-encoded fastest access speed.

Remarks

This structure is declared in the Sockserv.h header file. It supports the implementation of the driver described in sample PC Card socket driver.