DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

RelReqWindow(D4pccard)


RelReqWindow -- describe a block of system address space

Syntax

   #include <sys/lcs.h>
   #include <sys/lss.h>
   

Description

The RelReqWindow structure is used to request or release a block of system address space.

Structure definition

   unsigned short  		usSocket;
   unsigned short  		usAttributes;
   unsigned long   		ulBase;
   unsigned long   		ulSize;
   unsigned char   		ucAccessSpeed;
   PCCardMemMap_t 	                *pPCCardMemMap;

Structure members

The members are defined as:

usSocket
Low bite inidicates the socket, high bite indicates the function.

usAttributes
The bits are defined as:

bit 0
Determines the type of memory being requested. If the bit is set to 1, I/O address space is being requested. Otherwise the request is for memory window address space.

bit 1
set (1) = attribute memory, 16 bit cards only

bit 2
set (1) = enabled, reset (0) = disabled

bit 3
reset (0) = 8 bit data path, set (1) = 16 bit data path

bit 4
set (1) = paged memory

bit 5
set (1) = shared (not for CardBus)

bit 6
set (1) = first shared (not for CardBus)

bit 7
set (1) = only binding specic memory windows

bit 8
set (1) = card offsets are window sized

bit 9
set (1) = 32 bit data path width, CardBus only

bit 10
reserved, reset to 0

bit 12-11


0 0
neither prefetchable nor cacheable

0 1
prefetchable but not cacheable

1 0
both prefetchable and cacheable

1 1
reserved, do not use this combination

bit 13-15
base address register for CardBus

Valid values are:


REQ_WIN_ADDR_SPACE_MEM

REQ_WIN_ADDR_SPACE_IO

REQ_WIN_MEMORY_TYPE

REQ_WIN_MEMORY_TYPE_CM

REQ_WIN_MEMORY_TYPE_AM

REQ_WIN_ENABLE

REQ_WIN_DATA_WIDTH

REQ_WIN_DATA_WIDTH_8

REQ_WIN_DATA_WIDTH_16

REQ_WIN_PAGED

REQ_WIN_SHARED

REQ_WIN_FIRST_SHARED

REQ_WIN_BINDING_SPECIFIC

REQ_WIN_OFFSET_SIZE

REQ_WIN_DATA_WIDTH32

REQ_WIN_BASE_ADDR_MASK

ulBase
System base address.

ulSize
Size of memory window.

ucAccessSpeed
Window speed

pPCCardMemMap
Pointer to PCCardMemMap(D4pccard) structure.

Usage

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

ReleaseWindow(D3pccard), RequestWindow(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005