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

Arguments<br />

Predicate is evaluated as an Integer.<br />

Description<br />

If the Predicate of any ElseIf statement evaluates to non-zero, the statements in its term list are<br />

executed <strong>and</strong> then control is transferred past the end of the final Else. If no Predicate evaluates to<br />

non-zero, then the statements in the Else term list are executed.<br />

Note: (Compatibility Note) The ElseIf operator was first introduced in ACPI 2.0, but is backward<br />

compatible with the ACPI 1.0 specification. An ACPI 2.0 <strong>and</strong> later ASL compiler must synthesize<br />

ElseIf from the If. <strong>and</strong> Else opcodes available in 1.0. For example:<br />

If (predicate1)<br />

{<br />

…statements1…<br />

}<br />

ElseIf (predicate2)<br />

{<br />

…statements2…<br />

}<br />

Else<br />

{<br />

…statements3…<br />

}<br />

is translated to the following:<br />

If (predicate1)<br />

{<br />

…statements1…<br />

}<br />

Else<br />

{<br />

If (predicate2)<br />

{<br />

…statements2…<br />

}<br />

Else<br />

{<br />

…statements3…<br />

}<br />

}<br />

19.6.39 EndDependentFn (End Dependent Function Resource<br />

Descriptor Macro)<br />

Syntax<br />

EndDependentFn () => Buffer<br />

Description<br />

The EndDependentFn macro generates an end-of-dependent-function resource descriptor buffer<br />

inside of an ResourceTemplate (page 882). It must be matched with a StartDependentFn (page 887)<br />

or StartDependentFnNoPri (page 888) macro.<br />

830 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!