OpenCBM
Data Fields
DEVICE_EXTENSION_s Struct Reference

#include <cbm_driver.h>

Data Fields

 ARCH_DEVICE_EXTENSION
 
PUCHAR ParPortPortAddress
 
PUCHAR ParPortEcpPortAddress
 
ULONG IrqCount
 
BOOLEAN IsSMP
 
IEC_CABLETYPE IecCable
 
IEC_CABLETYPE IecCableUserSet
 
CABLESTATE IecCableState
 
UCHAR IecOutBits
 
UCHAR IecOutEor
 
UCHAR IecInEor
 
UCHAR IecAtnOut
 The ATN OUT bit.
 
UCHAR IecClkOut
 The CLOCK OUT bit.
 
UCHAR IecDataOut
 The DATA OUT bit.
 
UCHAR IecResetOut
 The RESET OUT bit.
 
UCHAR IecAtnIn
 The ATN IN bit.
 
UCHAR IecClkIn
 The CLOCK IN bit.
 
UCHAR IecDataIn
 The DATA IN bit.
 
UCHAR IecResetIn
 The RESET IN bit.
 
BOOLEAN IecBusy
 
BOOLEAN Eoi
 

Detailed Description

The device extension for the device

Definition at line 95 of file cbm_driver.h.

Field Documentation

DEVICE_EXTENSION_s::ARCH_DEVICE_EXTENSION

the architecture specific stuff

Definition at line 99 of file cbm_driver.h.

BOOLEAN DEVICE_EXTENSION_s::Eoi

TRUE -> we received an EOI over the bus

Definition at line 171 of file cbm_driver.h.

BOOLEAN DEVICE_EXTENSION_s::IecBusy

Remember if this device is busy

Definition at line 168 of file cbm_driver.h.

IEC_CABLETYPE DEVICE_EXTENSION_s::IecCable

The type of the cable, as determined by the automatism: IEC_CABLETYPE_AUTO –> autodetect IEC_CABLETYPE_XM –> non-inverted (XM1541) IEC_CABLETYPE_XA –> inverted (XA1541)

Definition at line 127 of file cbm_driver.h.

CABLESTATE DEVICE_EXTENSION_s::IecCableState

The state the cable detection is in

Definition at line 137 of file cbm_driver.h.

IEC_CABLETYPE DEVICE_EXTENSION_s::IecCableUserSet

The type of the cable, as set by the user

Definition at line 132 of file cbm_driver.h.

UCHAR DEVICE_EXTENSION_s::IecInEor

EOR mask for inputting from the parallel port

Definition at line 146 of file cbm_driver.h.

UCHAR DEVICE_EXTENSION_s::IecOutBits

The current state of the output bits of the parallel port

Definition at line 140 of file cbm_driver.h.

UCHAR DEVICE_EXTENSION_s::IecOutEor

EOR mask for outputting on the parallel port

Definition at line 143 of file cbm_driver.h.

ULONG DEVICE_EXTENSION_s::IrqCount

how many Irqs should we wait in cbmiec_interrupt (for cbmiec_wait_for_listener()? This determines if we want to schedule an EOI (=2) or not (=1). =0 means that the interrupt is not interesting for us.

Definition at line 114 of file cbm_driver.h.

BOOLEAN DEVICE_EXTENSION_s::IsSMP

FLAG: We are running on an SMP or an HT machine

Definition at line 117 of file cbm_driver.h.

PUCHAR DEVICE_EXTENSION_s::ParPortEcpPortAddress

Start address of the ECP portion of the parallel port. If this is not an ECP port, this is 0.

Definition at line 107 of file cbm_driver.h.

PUCHAR DEVICE_EXTENSION_s::ParPortPortAddress

Start address of the parallel port in the I/O address space

Definition at line 102 of file cbm_driver.h.


The documentation for this struct was generated from the following file: