18.12.2012 Views

Advanced Configuration and Power Interface Specification

Advanced Configuration and Power Interface Specification

Advanced Configuration and Power Interface Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

19.5.32 DMA (DMA Resource Descriptor Macro)<br />

Syntax<br />

DMA (DmaType, IsBusMaster, DmaTransferSize, DescriptorName) {DmaChannelList} => Buffer<br />

Arguments<br />

DmaType specifies the type of DMA cycle: ISA compatible (Compatibility), EISA Type A<br />

(TypeA), EISA Type B (TypeB) or EISA Type F (TypeF). The 2-bit field DescriptorName._TYP is<br />

automatically created to refer to this portion of the resource descriptor, where ‘0’ is Compatibility,<br />

‘1’ is TypeA, ‘2’ is TypeB <strong>and</strong> ‘3’ is TypeF.<br />

IsBusMaster specifies whether this device can generate DMA bus master cycles (BusMaster) or not<br />

(NotBusMaster). If nothing is specified, then BusMaster is assumed. The 1-bit field<br />

DescriptorName._BM is automatically created to refer to this portion of the resource descriptor,<br />

where ‘0’ is NotBusMaster <strong>and</strong> ‘1’ is BusMaster.<br />

DmaTransferSize specifies the size of DMA cycles the device is capable of generating: 8-bit<br />

(Transfer8), 16-bit (Transfer16) or both 8 <strong>and</strong> 16-bit (Transfer8_16). The 2-bit field<br />

DescriptorName._SIZ is automatically created to refer to this portion of the resource descriptor,<br />

where ‘0’ is Transfer8, ‘1’ is Transfer8_16 <strong>and</strong> ‘2’ is Transfer16.<br />

DescriptorName is an optional argument that specifies a name for an integer constant that will be<br />

created in the current scope that contains the offset of this resource descriptor within the current<br />

resource template buffer. The predefined descriptor field names may be appended to this name to<br />

access individual fields within the descriptor via the Buffer Field operators.<br />

DmaChannelList is a comma-delimited list of integers in the range 0 through 7 that specify the DMA<br />

channels used by the device. There may be no duplicates in the list.<br />

Description<br />

The DMA macro evaluates to a buffer which contains a DMA resource descriptor. The format of the<br />

DMA resource descriptor can be found in “DMA Descriptor” (page 311). The macro is designed to<br />

be used inside of a ResourceTemplate (page 794).<br />

19.5.33 DWordIO (DWord IO Resource Descriptor Macro)<br />

Syntax<br />

DWordIO (ResourceUsage, IsMinFixed, IsMaxFixed, Decode, ISARanges, AddressGranularity,<br />

AddressMinimum, AddressMaximum, AddressTranslation, RangeLength, ResourceSourceIndex,<br />

ResourceSource, DescriptorName, TranslationType, TranslationDensity)<br />

Arguments<br />

ResourceUsage specifies whether the I/O range is consumed by this device (ResourceConsumer)<br />

or passed on to child devices (ResourceProducer). If nothing is specified, then ResourceConsumer<br />

is assumed.<br />

IsMinFixed specifies whether the minimum address of this I/O range is fixed (MinFixed) or can be<br />

changed (MinNotFixed). If nothing is specified, then MinNotFixed is assumed. The 1-bit field<br />

Hewlett-Packard/Intel/Microsoft/Phoenix/Toshiba 737

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!