27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ACPI Source Language (ASL)Reference<br />

128Bit or Width256Bit. If not specified, Width32Bit is assumed. The bit field name _SIZ is<br />

automatically created to refer to this portion of the resource descriptor.<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 />

Description<br />

The FixedDMA macro evaluates to a buffer that contains a Fixed DMA Descriptor (Section 6.4.3).<br />

19.6.50 FixedIO (Fixed IO Resource Descriptor Macro)<br />

Syntax<br />

FixedIO (AddressBase, RangeLength, DescriptorName) => Buffer<br />

Arguments<br />

AddressBase evaluates to a 16-bit integer. It describes the starting address of the fixed I/O range.<br />

The field DescriptorName. _BAS is automatically created to refer to this portion of the resource<br />

descriptor.<br />

RangeLength evaluates to an 8-bit integer. It describes the length of the fixed I/O range. The field<br />

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

DescriptorName evaluates to a name string which refers to the entire resource descriptor.<br />

Description<br />

The FixedIO macro evaluates to a buffer which contains a fixed I/O resource descriptor. The format<br />

of the fixed I/O resource descriptor can be found in “Fixed Location I/O Port Descriptor ”<br />

(page 347). The macro is designed to be used inside of a ResourceTemplate (page 882).<br />

19.6.51 Fprintf (Create <strong>and</strong> Store formatted string)<br />

Syntax<br />

Fprintf (Destination, FormatString, FormatArgs) => String<br />

Arguments<br />

Fprintf is a macro that converts the evaluated FormatString into a series of string Concatenate<br />

operations, storing the result in Destination.<br />

FormatString is a string literal which may contain one or more uses of the format specifier, %o, to<br />

indicate locations in the string where an object may be inserted. %o is the only format specifier<br />

supported since the resulting object is a string <strong>and</strong> type conversion is h<strong>and</strong>led automatically by<br />

Concatenate.<br />

FormatArgs is a comma separated list of Named Objects, Locals, or Args that can be evaluated to a<br />

string. Each argument is added to the FormatString using the Concatenate operation at the location<br />

specified by %o in order of appearance.<br />

Version 6.0 841

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

Saved successfully!

Ooh no, something went wrong!