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

// Create BLVL & BAC in bank 1 at the same offset<br />

BankField (GIO0, BNK1, 1, ByteAcc, NoLock, Preserve) {<br />

Offset (0x30),<br />

BLVL, 7,<br />

BAC, 1<br />

}<br />

19.6.8 Break (Break from While)<br />

Syntax<br />

Break<br />

Description<br />

Break causes execution to continue immediately following the innermost enclosing While or<br />

Switch scope, in the current Method. If there is no enclosing While or Switch within the current<br />

Method, a fatal error is generated.<br />

Compatibility Note: In ACPI 1.0, the Break operator continued immediately following the<br />

innermost “code package.” Starting in ACPI 2.0, the Break operator was changed to exit the<br />

innermost “While” or “Switch” package. This should have no impact on existing code, since the<br />

ACPI 1.0 definition was, in practice, useless.<br />

19.6.9 BreakPoint (Execution Break Point)<br />

Syntax<br />

BreakPoint<br />

Description<br />

Used for debugging, the Breakpoint opcode stops the execution <strong>and</strong> enters the AML debugger. In<br />

the non-debug version of the AML interpreter, BreakPoint is equivalent to Noop.<br />

19.6.10 Buffer (Declare Buffer Object)<br />

Syntax<br />

Buffer (BufferSize) {String or ByteList} => Buffer<br />

Arguments<br />

Declares a Buffer of size BufferSize <strong>and</strong> optional initial value of String or ByteList.<br />

Description<br />

The optional BufferSize parameter specifies the size of the buffer <strong>and</strong> the initial value is specified in<br />

Initializer ByteList. If BufferSize is not specified, it defaults to the size of initializer. If the count is<br />

too small to hold the value specified by initializer, the initializer size is used. For example, all four of<br />

the following examples generate the same data in namespace, although they have different ASL<br />

encodings:<br />

Version 6.0 813

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

Saved successfully!

Ooh no, something went wrong!