ReactOS  0.4.14-dev-49-gfb4591c
_HW_DEVICE_EXTENSION Struct Reference

#include <bsmaster.h>

Collaboration diagram for _HW_DEVICE_EXTENSION:

Public Attributes

PSCSI_REQUEST_BLOCK CurrentSrb
 
PIDE_REGISTERS_1 BaseIoAddress1 [2]
 
PIDE_REGISTERS_2 BaseIoAddress2 [2]
 
ULONG InterruptLevel
 
ULONG InterruptMode
 
PUSHORT DataBuffer
 
ULONG WordsLeft
 
ULONG NumberChannels
 
ULONG ErrorCount
 
ULONG DiscsPresent [4]
 
USHORT DeviceFlags [4]
 
UCHAR MaximumBlockXfer [4]
 
BOOLEAN ExpectingInterrupt
 
BOOLEAN RDP
 
BOOLEAN DriverMustPoll
 
BOOLEAN DWordIO
 
BOOLEAN PrimaryAddress
 
UCHAR SmartCommand
 
UCHAR ReturningMediaStatus
 
UCHAR Reserved [1]
 
IDENTIFY_DATA FullIdentifyData
 
IDENTIFY_DATA2 IdentifyData [4]
 
PSCSI_REQUEST_BLOCK OriginalSrb
 
SCSI_REQUEST_BLOCK InternalSrb
 
MECHANICAL_STATUS_INFORMATION_HEADER MechStatusData
 
SENSE_DATA MechStatusSense
 
ULONG MechStatusRetryCount
 
CHAR Signature [32]
 
ULONG BusInterruptLevel
 
ULONG BusInterruptVector
 
ULONG NumberLuns
 
ULONG FirstChannelToCheck
 
PHW_LU_EXTENSION lun
 
PHW_CHANNEL chan
 
UCHAR LastInterruptedChannel
 
BOOLEAN BusMaster
 
BOOLEAN UseDpc
 
ULONG ActiveDpcChan
 
ULONG FirstDpcChan
 
ULONG ExpectingInterrupt
 
ULONG queue_depth
 
PDEVICE_OBJECT Isr2DevObj
 
IORES BaseIoAddressBM_0
 
ULONG DevID
 
ULONG RevID
 
ULONG slotNumber
 
ULONG SystemIoBusNumber
 
ULONG DevIndex
 
ULONG InitMethod
 
ULONG Channel
 
ULONG HbaCtrlFlags
 
BOOLEAN simplexOnly
 
BOOLEAN AltRegMap
 
BOOLEAN UnknownDev
 
BOOLEAN MasterDev
 
BOOLEAN Host64
 
UCHAR Reserved1 [2]
 
LONG ReCheckIntr
 
ULONG MaxTransferMode
 
ULONG HwFlags
 
INTERFACE_TYPE OrigAdapterInterfaceType
 
INTERFACE_TYPE AdapterInterfaceType
 
ULONG MaximumDmaTransferLength
 
ULONG AlignmentMask
 
ULONG DmaSegmentLength
 
ULONG DmaSegmentAlignmentMask
 
IORES BaseIoAddressSATA_0
 
IORES BaseIoAHCI_0
 
ULONG AHCI_CAP
 
ULONG AHCI_PI
 
ULONG AHCI_PI_mask
 
PATA_REQ AhciInternalAtaReq0
 
PSCSI_REQUEST_BLOCK AhciInternalSrb0
 
BOOLEAN opt_AtapiDmaZeroTransfer
 
BOOLEAN opt_AtapiDmaControlCmd
 
BOOLEAN opt_AtapiDmaRawRead
 
BOOLEAN opt_AtapiDmaReadWrite
 
PCCH FullDevName
 
union {
   ULONG   HwCfg
 
}; 
 
BusLogic_HostAdapter_T hcs
 
PNONCACHED_EXTENSION NoncachedExtension
 
SCSI_WMILIB_CONTEXT WmiLibContext
 
PHYSICAL_ADDRESS PhysicalVideoMemoryBase
 
PHYSICAL_ADDRESS PhysicalFrameOffset
 
ULONG PhysicalVideoMemoryLength
 
ULONG PhysicalFrameLength
 
PUCHAR IOAddress
 
PUCHAR VideoMemoryAddress
 
ULONG ModeIndex
 
PVIDEOMODE CurrentMode
 
VIDEO_CURSOR_POSITION CursorPosition
 
UCHAR CursorEnable
 
UCHAR CursorTopScanLine
 
UCHAR CursorBottomScanLine
 
VIDEO_PORT_INT10_INTERFACE Int10Interface
 
BOOLEAN VesaBiosOk
 
USHORT Version
 
PHYSICAL_ADDRESS FrameBuffer
 
LARGE_INTEGER VramSize
 
PHYSICAL_ADDRESS VramBase
 
ULONG MemSize
 
PULONG IndexPort
 
PULONG ValuePort
 
PVOID FrameBufferBase
 
PVOID Fifo
 
ULONG InterruptPort
 
ULONG InterruptState
 
PENG_EVENT SyncEvent
 
VIDEO_MODE_INFORMATION CurrentMode
 
ULONG VideoModeCount
 
ULONG Capabilities
 
USHORT Flags
 
USHORT DisplayIndex
 
ULONG YOrigin
 
ULONG XOrigin
 

Detailed Description

Definition at line 22 of file atapi.c.

Member Data Documentation

◆ @1122

union { ... }

◆ ActiveDpcChan

ULONG _HW_DEVICE_EXTENSION::ActiveDpcChan

Definition at line 1270 of file bsmaster.h.

Referenced by AtapiQueueTimerDpc(), and AtapiTimerDpc().

◆ AdapterInterfaceType

◆ AHCI_CAP

ULONG _HW_DEVICE_EXTENSION::AHCI_CAP

Definition at line 1330 of file bsmaster.h.

Referenced by UniataAhciInit().

◆ AHCI_PI

ULONG _HW_DEVICE_EXTENSION::AHCI_PI

Definition at line 1331 of file bsmaster.h.

Referenced by AtapiInterrupt(), AtapiInterrupt2(), UniataAhciDetect(), and UniataAhciInit().

◆ AHCI_PI_mask

ULONG _HW_DEVICE_EXTENSION::AHCI_PI_mask

Definition at line 1332 of file bsmaster.h.

Referenced by UniataAhciDetect(), UniataAhciInit(), and UniataChipDetectChannels().

◆ AhciInternalAtaReq0

PATA_REQ _HW_DEVICE_EXTENSION::AhciInternalAtaReq0

Definition at line 1333 of file bsmaster.h.

Referenced by UniataAllocateLunExt(), and UniataFreeLunExt().

◆ AhciInternalSrb0

PSCSI_REQUEST_BLOCK _HW_DEVICE_EXTENSION::AhciInternalSrb0

Definition at line 1334 of file bsmaster.h.

Referenced by UniataAllocateLunExt(), and UniataFreeLunExt().

◆ AlignmentMask

ULONG _HW_DEVICE_EXTENSION::AlignmentMask

Definition at line 1318 of file bsmaster.h.

Referenced by AtapiDmaSetup(), and UniataFindBusMasterController().

◆ AltRegMap

BOOLEAN _HW_DEVICE_EXTENSION::AltRegMap

Definition at line 1301 of file bsmaster.h.

Referenced by UniataChipDetect(), and UniataFindBusMasterController().

◆ BaseIoAddress1

◆ BaseIoAddress2

◆ BaseIoAddressBM_0

IORES _HW_DEVICE_EXTENSION::BaseIoAddressBM_0

◆ BaseIoAddressSATA_0

IORES _HW_DEVICE_EXTENSION::BaseIoAddressSATA_0

◆ BaseIoAHCI_0

IORES _HW_DEVICE_EXTENSION::BaseIoAHCI_0

Definition at line 1328 of file bsmaster.h.

Referenced by AtapiChipInit(), UniataAhciDetect(), UniataAhciInit(), and UniataChipDetect().

◆ BusInterruptLevel

ULONG _HW_DEVICE_EXTENSION::BusInterruptLevel

◆ BusInterruptVector

ULONG _HW_DEVICE_EXTENSION::BusInterruptVector

◆ BusMaster

BOOLEAN _HW_DEVICE_EXTENSION::BusMaster

◆ Capabilities

ULONG _HW_DEVICE_EXTENSION::Capabilities

Definition at line 31 of file precomp.h.

◆ chan

◆ Channel

◆ CurrentMode [1/2]

VIDEO_MODE_INFORMATION _HW_DEVICE_EXTENSION::CurrentMode

Definition at line 29 of file precomp.h.

◆ CurrentMode [2/2]

PVIDEOMODE _HW_DEVICE_EXTENSION::CurrentMode

Definition at line 403 of file vga.h.

Referenced by VgaQueryCurrentMode(), VgaSetColorLookup(), and VgaSetMode().

◆ CurrentSrb

PSCSI_REQUEST_BLOCK _HW_DEVICE_EXTENSION::CurrentSrb

◆ CursorBottomScanLine

UCHAR _HW_DEVICE_EXTENSION::CursorBottomScanLine

Definition at line 410 of file vga.h.

Referenced by VgaInitialize().

◆ CursorEnable

UCHAR _HW_DEVICE_EXTENSION::CursorEnable

Definition at line 408 of file vga.h.

Referenced by VgaInitialize().

◆ CursorPosition

VIDEO_CURSOR_POSITION _HW_DEVICE_EXTENSION::CursorPosition

Definition at line 406 of file vga.h.

Referenced by VgaInitialize().

◆ CursorTopScanLine

UCHAR _HW_DEVICE_EXTENSION::CursorTopScanLine

Definition at line 409 of file vga.h.

Referenced by VgaInitialize().

◆ DataBuffer

PUSHORT _HW_DEVICE_EXTENSION::DataBuffer

◆ DeviceFlags

◆ DevID

◆ DevIndex

◆ DiscsPresent

ULONG _HW_DEVICE_EXTENSION::DiscsPresent[4]

Definition at line 80 of file atapi.c.

Referenced by AtapiHwInitialize(), AtapiHwInitializeChanger(), and AtapiSendCommand().

◆ DisplayIndex

USHORT _HW_DEVICE_EXTENSION::DisplayIndex

Definition at line 33 of file precomp.h.

◆ DmaSegmentAlignmentMask

ULONG _HW_DEVICE_EXTENSION::DmaSegmentAlignmentMask

◆ DmaSegmentLength

ULONG _HW_DEVICE_EXTENSION::DmaSegmentLength

◆ DriverMustPoll

BOOLEAN _HW_DEVICE_EXTENSION::DriverMustPoll

◆ DWordIO

BOOLEAN _HW_DEVICE_EXTENSION::DWordIO

Definition at line 117 of file atapi.c.

Referenced by AtapiFindController(), AtapiInterrupt(), CheckDevice(), and MapError().

◆ ErrorCount

ULONG _HW_DEVICE_EXTENSION::ErrorCount

Definition at line 74 of file atapi.c.

Referenced by MapError().

◆ ExpectingInterrupt [1/2]

◆ ExpectingInterrupt [2/2]

ULONG _HW_DEVICE_EXTENSION::ExpectingInterrupt

Definition at line 1272 of file bsmaster.h.

◆ Fifo

PVOID _HW_DEVICE_EXTENSION::Fifo

Definition at line 25 of file precomp.h.

◆ FirstChannelToCheck

ULONG _HW_DEVICE_EXTENSION::FirstChannelToCheck

Definition at line 1251 of file bsmaster.h.

Referenced by AtapiCallBack__(), AtapiInterrupt(), and UniataGetNextChannel().

◆ FirstDpcChan

ULONG _HW_DEVICE_EXTENSION::FirstDpcChan

Definition at line 1271 of file bsmaster.h.

Referenced by AtapiQueueTimerDpc(), and AtapiTimerDpc().

◆ Flags

USHORT _HW_DEVICE_EXTENSION::Flags

Definition at line 32 of file precomp.h.

◆ FrameBuffer

PHYSICAL_ADDRESS _HW_DEVICE_EXTENSION::FrameBuffer

Definition at line 18 of file precomp.h.

Referenced by VmxFindAdapter().

◆ FrameBufferBase

PVOID _HW_DEVICE_EXTENSION::FrameBufferBase

Definition at line 24 of file precomp.h.

◆ FullDevName

PCCH _HW_DEVICE_EXTENSION::FullDevName

Definition at line 1341 of file bsmaster.h.

Referenced by AtapiStartIo__(), UniataChipDetect(), and UniataEnumBusMasterController__().

◆ FullIdentifyData

IDENTIFY_DATA _HW_DEVICE_EXTENSION::FullIdentifyData

Definition at line 145 of file atapi.c.

Referenced by IssueIdentify().

◆ HbaCtrlFlags

ULONG _HW_DEVICE_EXTENSION::HbaCtrlFlags

Definition at line 1298 of file bsmaster.h.

Referenced by AtapiInterrupt__(), and AtapiStartIo__().

◆ hcs

◆ Host64

BOOLEAN _HW_DEVICE_EXTENSION::Host64

◆ HwCfg

ULONG _HW_DEVICE_EXTENSION::HwCfg

Definition at line 1345 of file bsmaster.h.

◆ HwFlags

◆ IdentifyData

◆ IndexPort

PULONG _HW_DEVICE_EXTENSION::IndexPort

Definition at line 22 of file precomp.h.

◆ InitMethod

ULONG _HW_DEVICE_EXTENSION::InitMethod

Definition at line 1294 of file bsmaster.h.

◆ Int10Interface

VIDEO_PORT_INT10_INTERFACE _HW_DEVICE_EXTENSION::Int10Interface

Definition at line 412 of file vga.h.

◆ InternalSrb

SCSI_REQUEST_BLOCK _HW_DEVICE_EXTENSION::InternalSrb

Definition at line 152 of file atapi.c.

Referenced by BuildMechanismStatusSrb(), and BuildRequestSenseSrb().

◆ InterruptLevel

ULONG _HW_DEVICE_EXTENSION::InterruptLevel

Definition at line 41 of file atapi.c.

◆ InterruptMode

◆ InterruptPort

ULONG _HW_DEVICE_EXTENSION::InterruptPort

Definition at line 26 of file precomp.h.

◆ InterruptState

ULONG _HW_DEVICE_EXTENSION::InterruptState

Definition at line 27 of file precomp.h.

◆ IOAddress

PUCHAR _HW_DEVICE_EXTENSION::IOAddress

◆ Isr2DevObj

PDEVICE_OBJECT _HW_DEVICE_EXTENSION::Isr2DevObj

Definition at line 1281 of file bsmaster.h.

Referenced by AtapiAdapterControl(), and AtapiStartIo__().

◆ LastInterruptedChannel

UCHAR _HW_DEVICE_EXTENSION::LastInterruptedChannel

Definition at line 1259 of file bsmaster.h.

Referenced by AtapiInterrupt().

◆ lun

PHW_LU_EXTENSION _HW_DEVICE_EXTENSION::lun

Definition at line 1256 of file bsmaster.h.

Referenced by AtapiFindIsaController(), UniataAllocateLunExt(), and UniataFreeLunExt().

◆ MasterDev

◆ MaximumBlockXfer

UCHAR _HW_DEVICE_EXTENSION::MaximumBlockXfer[4]

Definition at line 93 of file atapi.c.

Referenced by AtapiHwInitialize(), AtapiInterrupt(), IdeReadWrite(), IssueIdentify(), and MapError().

◆ MaximumDmaTransferLength

ULONG _HW_DEVICE_EXTENSION::MaximumDmaTransferLength

◆ MaxTransferMode

◆ MechStatusData

MECHANICAL_STATUS_INFORMATION_HEADER _HW_DEVICE_EXTENSION::MechStatusData

Definition at line 153 of file atapi.c.

Referenced by BuildMechanismStatusSrb().

◆ MechStatusRetryCount

ULONG _HW_DEVICE_EXTENSION::MechStatusRetryCount

Definition at line 155 of file atapi.c.

Referenced by AtapiInterrupt(), and AtapiSendCommand().

◆ MechStatusSense

SENSE_DATA _HW_DEVICE_EXTENSION::MechStatusSense

Definition at line 154 of file atapi.c.

Referenced by BuildRequestSenseSrb().

◆ MemSize

ULONG _HW_DEVICE_EXTENSION::MemSize

Definition at line 21 of file precomp.h.

◆ ModeIndex

ULONG _HW_DEVICE_EXTENSION::ModeIndex

Definition at line 402 of file vga.h.

Referenced by VgaQueryCurrentMode(), and VgaSetMode().

◆ NoncachedExtension

PNONCACHED_EXTENSION _HW_DEVICE_EXTENSION::NoncachedExtension

Definition at line 758 of file BusLogic958.h.

Referenced by Buslogic_InitBT958(), and BusLogic_InitializeHostAdapter().

◆ NumberChannels

◆ NumberLuns

◆ opt_AtapiDmaControlCmd

BOOLEAN _HW_DEVICE_EXTENSION::opt_AtapiDmaControlCmd

Definition at line 1337 of file bsmaster.h.

Referenced by AtapiReadChipConfig(), and AtapiSendCommand().

◆ opt_AtapiDmaRawRead

BOOLEAN _HW_DEVICE_EXTENSION::opt_AtapiDmaRawRead

Definition at line 1338 of file bsmaster.h.

Referenced by AtapiReadChipConfig(), and AtapiSendCommand().

◆ opt_AtapiDmaReadWrite

BOOLEAN _HW_DEVICE_EXTENSION::opt_AtapiDmaReadWrite

Definition at line 1339 of file bsmaster.h.

Referenced by AtapiReadChipConfig(), and AtapiSendCommand().

◆ opt_AtapiDmaZeroTransfer

BOOLEAN _HW_DEVICE_EXTENSION::opt_AtapiDmaZeroTransfer

Definition at line 1336 of file bsmaster.h.

Referenced by AtapiReadChipConfig(), and AtapiSendCommand().

◆ OrigAdapterInterfaceType

INTERFACE_TYPE _HW_DEVICE_EXTENSION::OrigAdapterInterfaceType

◆ OriginalSrb

PSCSI_REQUEST_BLOCK _HW_DEVICE_EXTENSION::OriginalSrb

Definition at line 151 of file atapi.c.

Referenced by AtapiInterrupt(), AtapiResetController(), and AtapiSendCommand().

◆ PhysicalFrameLength

ULONG _HW_DEVICE_EXTENSION::PhysicalFrameLength

Definition at line 397 of file vga.h.

Referenced by VgaSetMode(), and VgaStartIO().

◆ PhysicalFrameOffset

PHYSICAL_ADDRESS _HW_DEVICE_EXTENSION::PhysicalFrameOffset

Definition at line 395 of file vga.h.

Referenced by VgaSetMode(), and VgaStartIO().

◆ PhysicalVideoMemoryBase

PHYSICAL_ADDRESS _HW_DEVICE_EXTENSION::PhysicalVideoMemoryBase

Definition at line 394 of file vga.h.

Referenced by VgaSetMode(), and VgaStartIO().

◆ PhysicalVideoMemoryLength

ULONG _HW_DEVICE_EXTENSION::PhysicalVideoMemoryLength

Definition at line 396 of file vga.h.

Referenced by VgaSetMode(), and VgaStartIO().

◆ PrimaryAddress

BOOLEAN _HW_DEVICE_EXTENSION::PrimaryAddress

◆ queue_depth

ULONG _HW_DEVICE_EXTENSION::queue_depth

Definition at line 1279 of file bsmaster.h.

Referenced by UniataNeedQueueing().

◆ RDP

BOOLEAN _HW_DEVICE_EXTENSION::RDP

Definition at line 105 of file atapi.c.

Referenced by AtapiCallBack(), AtapiInterrupt(), AtapiResetController(), and AtapiSendCommand().

◆ ReCheckIntr

LONG _HW_DEVICE_EXTENSION::ReCheckIntr

Definition at line 1311 of file bsmaster.h.

Referenced by AtapiInterrupt2().

◆ Reserved

UCHAR _HW_DEVICE_EXTENSION::Reserved[1]

Definition at line 139 of file atapi.c.

◆ Reserved1

UCHAR _HW_DEVICE_EXTENSION::Reserved1[2]

Definition at line 1309 of file bsmaster.h.

◆ ReturningMediaStatus

UCHAR _HW_DEVICE_EXTENSION::ReturningMediaStatus

Definition at line 137 of file atapi.c.

Referenced by IdeBuildSenseBuffer(), IdeMediaStatus(), and MapError().

◆ RevID

◆ Signature

CHAR _HW_DEVICE_EXTENSION::Signature[32]

Definition at line 1239 of file bsmaster.h.

Referenced by UniataFindBusMasterController().

◆ simplexOnly

◆ slotNumber

◆ SmartCommand

UCHAR _HW_DEVICE_EXTENSION::SmartCommand

Definition at line 131 of file atapi.c.

Referenced by AtapiInterrupt(), and IdeSendSmartCommand().

◆ SyncEvent

PENG_EVENT _HW_DEVICE_EXTENSION::SyncEvent

Definition at line 28 of file precomp.h.

Referenced by VmxFindAdapter().

◆ SystemIoBusNumber

◆ UnknownDev

BOOLEAN _HW_DEVICE_EXTENSION::UnknownDev

◆ UseDpc

BOOLEAN _HW_DEVICE_EXTENSION::UseDpc

Definition at line 1264 of file bsmaster.h.

Referenced by AtapiInterrupt__(), CheckDevice(), and UniataFindBusMasterController().

◆ ValuePort

PULONG _HW_DEVICE_EXTENSION::ValuePort

Definition at line 23 of file precomp.h.

◆ Version

USHORT _HW_DEVICE_EXTENSION::Version

Definition at line 17 of file precomp.h.

◆ VesaBiosOk

BOOLEAN _HW_DEVICE_EXTENSION::VesaBiosOk

Definition at line 413 of file vga.h.

◆ VideoMemoryAddress

PUCHAR _HW_DEVICE_EXTENSION::VideoMemoryAddress

Definition at line 401 of file vga.h.

Referenced by VgaFindAdapter(), and VgaZeroVideoMemory().

◆ VideoModeCount

ULONG _HW_DEVICE_EXTENSION::VideoModeCount

Definition at line 30 of file precomp.h.

◆ VramBase

PHYSICAL_ADDRESS _HW_DEVICE_EXTENSION::VramBase

Definition at line 20 of file precomp.h.

◆ VramSize

LARGE_INTEGER _HW_DEVICE_EXTENSION::VramSize

Definition at line 19 of file precomp.h.

Referenced by VmxFindAdapter().

◆ WmiLibContext

SCSI_WMILIB_CONTEXT _HW_DEVICE_EXTENSION::WmiLibContext

Definition at line 759 of file BusLogic958.h.

◆ WordsLeft

ULONG _HW_DEVICE_EXTENSION::WordsLeft

◆ XOrigin

ULONG _HW_DEVICE_EXTENSION::XOrigin

Definition at line 35 of file precomp.h.

◆ YOrigin

ULONG _HW_DEVICE_EXTENSION::YOrigin

Definition at line 34 of file precomp.h.


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