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 />

Parameter MTHD ArgX Type Read operation on ArgX Result of read<br />

Buf, Buffer Store (Arg1, …)<br />

CopyObject (Arg1, …)<br />

Index (Arg1, …)<br />

Field (Arg1, …)<br />

Pkg Package Store (Arg2, …)<br />

CopyObject (Arg2, …)<br />

Index (Arg2, …)<br />

Obj All other object types Store (Arg3, …)<br />

CopyObject (Arg3, …)<br />

Buf<br />

Buf<br />

Index (Buf)<br />

Field (Buf)<br />

Pkg<br />

Pkg<br />

Index (Pkg)<br />

Obj<br />

Obj<br />

2. Store to ArgX parameters<br />

• ObjectReference objects - Automatic dereference, copy the object <strong>and</strong> overwrite the final<br />

target.<br />

• All other object types- Copy the object <strong>and</strong> overwrite the ArgX variable. (Direct writes to<br />

buffer or package ArgX parameters will also simply overwrite ArgX)<br />

Table 19-360 Writing to ArgX Objects<br />

Current type of ArgX<br />

Object to be<br />

written<br />

Write operation on ArgX<br />

Result of write (in ArgX)<br />

RefOf (OldObj)<br />

Obj<br />

(Any type)<br />

Store (…, ArgX)<br />

CopyObject (…, ArgX)<br />

RefOf (copy of Obj)<br />

RefOf (copy of Obj)<br />

All other object types<br />

Obj<br />

(Any type)<br />

Store (…, ArgX)<br />

CopyObject (…, ArgX)<br />

Copy of Obj<br />

Copy of Obj<br />

Note: RefOf (ArgX) returns a reference to ArgX.<br />

19.3.5.9.2 LocalX Objects<br />

1. Read from LocalX variables<br />

• ObjectReference - If performing a DeRefOf return the target of the reference. Otherwise,<br />

return the reference.<br />

• All other object types - Return a the object<br />

Table 19-361 Reading from LocalX Objects<br />

Current LocalX Type Read operation on LocalX Result of read<br />

RefOf (Obj)<br />

Obj (All other types)<br />

Store (LocalX, …)<br />

CopyObject (LocalX, …)<br />

DeRefOf (LocalX)<br />

Store (LocalX, …)<br />

CopyObject (LocalX, …)<br />

RefOf (Obj)<br />

RefOf (Obj)<br />

Obj<br />

Obj<br />

Obj<br />

2. Store to LocalX variables<br />

• All object types - Delete any existing object in LocalX first, then store a copy of the object.<br />

Version 6.0 799

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

Saved successfully!

Ooh no, something went wrong!