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.

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

can be found in “QWord Address Space Descriptor ” (page 354). The macro is designed to be used<br />

inside of a ResourceTemplate (page 882).<br />

19.6.106 RawDataBuffer<br />

Syntax<br />

RawDataBuffer (RDBufferSize) {ByteList} => RawDataBuffer<br />

Arguments<br />

Declares a RawDataBuffer of size RDBufferSize <strong>and</strong> optional initial value of ByteList.<br />

Description<br />

The optional RDBufferSize parameter specifies the size of the buffer <strong>and</strong> must be a word constant.<br />

The initial value is specified in Initializer ByteList. If RDBufferSize is not specified, it defaults to the<br />

size of initializer. If the count is too small to hold the value specified by initializer, the initializer size<br />

is used.<br />

Note that a RawDataBuffer is not encoded as a Buffer (Opcode, Package length bytes, etc), but<br />

rather contains only the raw bytes specified.<br />

19.6.107 RefOf (Create Object Reference)<br />

Syntax<br />

RefOf (Object) => ObjectReference<br />

Arguments<br />

Object can be any object type (for example, a package, a device object, <strong>and</strong> so on).<br />

Description<br />

Returns an object reference to Object. If the Object does not exist, the result of a RefOf operation is<br />

fatal. Use the CondRefOf term in cases where the Object might not exist.<br />

The primary purpose of RefOf() is to allow an object to be passed to a method as an argument to the<br />

method without the object being evaluated at the time the method was loaded.<br />

19.6.108 Register (Generic Register Resource Descriptor Macro)<br />

Syntax<br />

Register (AddressSpaceKeyword, RegisterBitWidth, RegisterBitOffset, RegisterAddress,<br />

AccessSize, DescriptorName)<br />

Arguments<br />

AddressSpaceKeyword specifies the address space where the register exists. The register can exist in<br />

I/O space (SystemIO), memory (SystemMemory), PCI configuration space (PCI_Config),<br />

embedded controller space (EmbeddedControl), SMBus (SMBus), Platform Communications<br />

Channel (PCC), or fixed-feature hardware (FFixedHW). The 8-bit field DescriptorName. _ASI is<br />

880 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!