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

20.2.3 Data Objects Encoding<br />

ComputationalData := ByteConst | WordConst | DWordConst | QWordConst | String |<br />

ConstObj | RevisionOp | DefBuffer<br />

DataObject := ComputationalData | DefPackage | DefVarPackage<br />

DataRefObject := DataObject | ObjectReference | DDBH<strong>and</strong>le<br />

ByteConst<br />

BytePrefix<br />

WordConst<br />

WordPrefix<br />

DWordConst<br />

DWordPrefix<br />

QWordConst<br />

QWordPrefix<br />

String<br />

StringPrefix<br />

ConstObj<br />

ByteList<br />

ByteData<br />

WordData<br />

DWordData<br />

QWordData<br />

AsciiCharList<br />

AsciiChar<br />

NullChar<br />

ZeroOp<br />

OneOp<br />

OnesOp<br />

RevisionOp<br />

ExtOpPrefix<br />

:= BytePrefix ByteData<br />

:= 0x0A<br />

:= WordPrefix WordData<br />

:= 0x0B<br />

:= DWordPrefix DWordData<br />

:= 0x0C<br />

:= QWordPrefix QWordData<br />

:= 0x0E<br />

:= StringPrefix AsciiCharList NullChar<br />

:= 0x0D<br />

:= ZeroOp | OneOp | OnesOp<br />

:= Nothing | <br />

:= 0x00 - 0xFF<br />

:= ByteData[0:7] ByteData[8:15]<br />

// 0x0000-0xFFFF<br />

:= WordData[0:15] WordData[16:31]<br />

// 0x00000000-0xFFFFFFFF<br />

:= DWordData[0:31] DWordData[32:63]<br />

// 0x0000000000000000-0xFFFFFFFFFFFFFFFF<br />

:= Nothing | <br />

:= 0x01 - 0x7F<br />

:= 0x00<br />

:= 0x00<br />

:= 0x01<br />

:= 0xFF<br />

:= ExtOpPrefix 0x30<br />

:= 0x5B<br />

20.2.4 Package Length Encoding<br />

PkgLength := PkgLeadByte |<br />

|<br />

|<br />

<br />

PkgLeadByte<br />

:= <br />

<br />

<br />

Note: The high 2 bits of the first byte reveal how many follow bytes are in the PkgLength. If the<br />

PkgLength has only one byte, bit 0 through 5 are used to encode the package length (in other<br />

words, values 0-63). If the package length value is more than 63, more than one byte must be<br />

used for the encoding in which case bit 4 <strong>and</strong> 5 of the PkgLeadByte are reserved <strong>and</strong> must be<br />

zero. If the multiple bytes encoding is used, bits 0-3 of the PkgLeadByte become the least<br />

significant 4 bits of the resulting package length value. The next ByteData will become the next<br />

910 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!