structure CM_EISA_FUNCTION_INFORMATION (wdm.h)

La structure CM_EISA_FUNCTION_INFORMATION définit les informations de configuration EISA détaillées retournées par HalGetBusData pour l’entrée *BusDataType *EisaConfiguration, ou par HalGetBusDataByOffset pour l’entrée *BusDataType *EisaConfiguration et le décalage zéro, en supposant que la mémoire tampon allouée à l’appelant est d’une longueur suffisante.

Syntaxe

typedef struct _CM_EISA_FUNCTION_INFORMATION {
  ULONG                     CompressedId;
  UCHAR                     IdSlotFlags1;
  UCHAR                     IdSlotFlags2;
  UCHAR                     MinorRevision;
  UCHAR                     MajorRevision;
  UCHAR                     Selections[26];
  UCHAR                     FunctionFlags;
  UCHAR                     TypeString[80];
  EISA_MEMORY_CONFIGURATION EisaMemory[9];
  EISA_IRQ_CONFIGURATION    EisaIrq[7];
  EISA_DMA_CONFIGURATION    EisaDma[4];
  EISA_PORT_CONFIGURATION   EisaPort[20];
  UCHAR                     InitializationData[60];
} CM_EISA_FUNCTION_INFORMATION, *PCM_EISA_FUNCTION_INFORMATION;

Membres

CompressedId

Identification compressée EISA de l’appareil à cet emplacement. La valeur est identique au membre CompressedId de la structure CM_EISA_SLOT_INFORMATION .

IdSlotFlags1

Indicateurs d’identification de l’emplacement EISA.

IdSlotFlags2

Indicateurs d’identification de l’emplacement EISA.

MinorRevision

Informations fournies par le fabricant.

MajorRevision

Informations fournies par le fabricant.

Selections[26]

Sélections EISA pour l’appareil.

FunctionFlags

Indique lequel des membres dispose d’informations disponibles. Les appelants peuvent utiliser les masques définis par le système suivants pour déterminer si un type particulier d’informations de configuration peut être ou a été retourné par HalGetBusData ou HalGetBusDataByOffset :

EISA_FUNCTION_ENABLED

EISA_FREE_FORM_DATA

EISA_HAS_PORT_INIT_ENTRY

EISA_HAS_PORT_RANGE

EISA_HAS_DMA_ENTRY

EISA_HAS_IRQ_ENTRY

EISA_HAS_MEMORY_ENTRY

EISA_HAS_TYPE_ENTRY

EISA_HAS_INFORMATION

Le masque EISA_HAS_INFORMATION est une combinaison des éléments suivants :

EISA_HAS_PORT_RANGE

EISA_HAS_DMA_ENTRY

EISA_HAS_IRQ_ENTRY

EISA_HAS_MEMORY_ENTRY

EISA_HAS_TYPE_ENTRY

TypeString[80]

Spécifie le type d’appareil.

EisaMemory[9]

Décrit les informations de configuration de la mémoire des appareils EISA, définies comme suit :

typedef struct _EISA_MEMORY_CONFIGURATION {
    EISA_MEMORY_TYPE ConfigurationByte;
    UCHAR DataSize;
    USHORT AddressLowWord;
    UCHAR AddressHighByte;
    USHORT MemorySize;
} EISA_MEMORY_CONFIGURATION, *PEISA_MEMORY_CONFIGURATION;

EisaIrq[7]

Décrit les informations de configuration des interruptions EISA, définies comme suit :

typedef struct _EISA_IRQ_CONFIGURATION {
    EISA_IRQ_DESCRIPTOR ConfigurationByte;
    UCHAR Reserved;
} EISA_IRQ_CONFIGURATION, *PEISA_IRQ_CONFIGURATION;

EisaDma[4]

Décrit les informations de configuration EISA DMA, définies comme suit :

typedef struct _EISA_DMA_CONFIGURATION {
    DMA_CONFIGURATION_BYTE0 ConfigurationByte0;
    DMA_CONFIGURATION_BYTE1 ConfigurationByte1;
} EISA_DMA_CONFIGURATION, *PEISA_DMA_CONFIGURATION;

EisaPort[20]

Décrit les informations de configuration du port d’appareil EISA, définies comme suit :

typedef struct _EISA_PORT_CONFIGURATION {
    EISA_PORT_DESCRIPTOR Configuration;
    USHORT PortAddress;
} EISA_PORT_CONFIGURATION, *PEISA_PORT_CONFIGURATION;

InitializationData[60]

Données d’initialisation spécifiques à l’appareil fournies par le fournisseur, le cas échéant.

Remarques

Les informations retournées par HalGetBusData ou HalGetBusDataByOffset dans CM_EISA_FUNCTION_INFORMATION et/ou dans l’en-tête CM_EISA_SLOT_INFORMATION qui la précède immédiatement sont en lecture seule.

Configuration requise

Condition requise Valeur
En-tête wdm.h (inclure Wdm.h, Ntddk.h, Ntifs.h, Miniport.h)

Voir aussi

CM_EISA_SLOT_INFORMATION

HalGetBusData

HalGetBusDataByOffset