27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

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.6.81 Memory32Fixed (Memory Resource Descriptor Macro)<br />

Syntax<br />

Memory32Fixed (ReadAndWrite, AddressBase, RangeLength, DescriptorName)<br />

Arguments<br />

ReadAndWrite specifies whether or not the memory region is read-only (ReadOnly) or read/write<br />

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

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

where ‘1’ is ReadWrite <strong>and</strong> ‘0’ is ReadOnly.<br />

AddressBase evaluates to a 32-bit integer that specifies the base address of the memory range. The<br />

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

descriptor.<br />

RangeLength evaluates to a 32-bit integer that specifies the total number of bytes decoded in the<br />

memory range. The 32-bit field DescriptorName. _LEN is automatically created to refer to this<br />

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 Memory32Fixed macro evaluates to a buffer which contains a 32-bit memory descriptor, which<br />

describes a fixed range of memory addresses. The format of the fixed 32-bit memory descriptor can<br />

be found in 32-Bit Fixed Memory Range Descriptor (page 353). The macro is designed to be used<br />

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

19.6.82 Method (Declare Control Method)<br />

Syntax<br />

Method (MethodName, NumArgs, SerializeRule, SyncLevel, ReturnType, ParameterTypes)<br />

{TermList}<br />

Arguments<br />

MethodName is evaluated as a Namestring data type.<br />

NumArgs is optional <strong>and</strong> is the required number of arguments to be passed to the method, evaluated<br />

as an Integer data type. If not specified, the default value is zero arguments. Up to 7 arguments may<br />

be passed to a method. These arguments may be referenced from within the method as Arg0 through<br />

Arg6.<br />

SerializeRule is optional <strong>and</strong> is a flag that defines whether the method is serialized or not <strong>and</strong> is one<br />

of the following: Serialized or NotSerialized. A method that is serialized cannot be reentered by<br />

additional threads. If not specified, the default is NotSerialized.<br />

SyncLevel is optional <strong>and</strong> specifies the synchronization level for the method (0 – 15). If not<br />

specified, the default sync level is zero.<br />

862 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!