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

OpenMemory(D4pccard)


OpenMemory -- describe open area of PC Card memory card

Syntax (Used with unsupported services)

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

Description

The OpenMemory structure is used to open an area of a memory card to allow read, write, copy memory, and erase operations. It associates an MTD (Memory Technology Driver) and an absolute card offset with a memory handler.

Structure definition

    typedef struct OpenMemory_t
    {
            unsigned short  	usSocket;
            unsigned short  	usAttributes;
            unsigned long   	ulOffset;
   
    } OpenMemory_t;

Structure members

The members are defined as:

usSocket
Logical socket.

usAttributes

bit 0

bit 1

bit 2

bits 3-4
Prefetchable/cacheable memory (set to one = true)


0
Neither

1
Preferable only

2
Both

3
Reserved value; do not use.

bit 5-12
Reserved (reset to zero).

bit 13-15
Base address register number (1-7)

ulOffset
Card offset for area to open.

Usage

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

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