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

19.6.142 Wait (Wait for a Synchronization Event)<br />

Syntax<br />

Wait (SyncObject, TimeoutValue) => Boolean<br />

Arguments<br />

SynchObject must be an event synchronization object. TimeoutValue is evaluated as an Integer. The<br />

calling method blocks while waiting for the event to be signaled.<br />

Description<br />

The pending signal count is decremented. If there is no pending signal count, the processor is<br />

relinquished until a signal count is posted to the Event or until at least TimeoutValue milliseconds<br />

have elapsed.<br />

This operation returns a non-zero value if a timeout occurred <strong>and</strong> a signal was not acquired. A<br />

TimeoutValue of 0xFFFF (or greater) indicates that there is no time out <strong>and</strong> the operation will wait<br />

indefinitely.<br />

19.6.143 While (Conditional Loop)<br />

Syntax<br />

While (Predicate) {TermList}<br />

Arguments<br />

Predicate is evaluated as an integer.<br />

Description<br />

If the Predicate is non-zero, the list of terms in TermList is executed. The operation repeats until the<br />

Predicate evaluates to zero.<br />

Note: Creation of a named object more than once in a given scope is not allowed. As such,<br />

unconditionally creating named objects within a While loop must be avoided. A fatal error will be<br />

generated on the second iteration of the loop, during the attempt to create the same named object<br />

a second time.<br />

19.6.144 WordBusNumber (Word Bus Number Resource Descriptor<br />

Macro)<br />

Syntax<br />

WordBusNumber (ResourceUsage, IsMinFixed, IsMaxFixed, Decode, AddressGranularity,<br />

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

ResourceSource, DescriptorName)<br />

Arguments<br />

ResourceUsage specifies whether the bus 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 />

Version 6.0 901

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

Saved successfully!

Ooh no, something went wrong!