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

Table 5-139 Accsessor Type Values<br />

Accessor Type Value Description<br />

AttribQuick 0x02 Read/Write Quick Protocol<br />

AttribSendReceive 0x04 Send/Receive Byte Protocol<br />

AttribByte 0x06 Read/Write Byte Protocol<br />

AttribWord 0x08 Read/Write Word Protocol<br />

AttribBlock 0x0A Read/Write Block Protocol<br />

AttribBytes 0x0B Read/Write N-Bytes Protocol<br />

AttribProcessCall 0x0C Process Call Protocol<br />

AttribBlockProcessCall 0x0D Write Block-Read Block<br />

Process Call Protocol<br />

AttribRawBytes 0x0E Raw Read/Write N-Bytes<br />

Protocol<br />

AttribRawProcessBytes 0x0F Raw Process Call Protocol<br />

5.5.2.4.5.1 Declaring GenericSerialBus Fields<br />

As with other regions, GenericSerialBus operation regions are only accessible via the Field term.<br />

Each field element is assigned a unique comm<strong>and</strong> value <strong>and</strong> represents a virtual register on the<br />

targeted GenericSerialBus device.<br />

The syntax for the Field term (see Section 19.6.46 “Field (Declare Field Objects)) is described<br />

below.<br />

Field(<br />

RegionName,<br />

AccessType,<br />

LockRule,<br />

UpdateRule<br />

) {FieldUnitList}<br />

Where:<br />

// NameString=>OperationRegion<br />

// AccessTypeKeyword<br />

// LockRuleKeyword – ignored for Hardware-reduced ACPI platforms<br />

// UpdateRuleKeyword – ignored<br />

• RegionName specifies the operation region name previously defined for the device.<br />

• AccessType must be set to BufferAcc. This indicates that access to field elements will be done<br />

using a region-specific data buffer. For this access type, the field h<strong>and</strong>ler is not aware of the data<br />

buffer’s contents which may be of any size. When a field of this type is used as the source<br />

argument in an operation it simply evaluates to a buffer. When used as the destination, however,<br />

the buffer is passed bi-directionally to allow data to be returned from write operations. The<br />

modified buffer then becomes the execution result of that operation. This is slightly different<br />

than the normal case in which the execution result is the same as the value written to the<br />

destination. Note that the source is never changed, since it could be a read only object (see<br />

Section 5.5.2.4.5.2, “Declaring an GenericSerialBus Data Buffer” <strong>and</strong> Section 19.2.5, “Opcode<br />

Terms”).<br />

• LockRule indicates if access to this operation region requires acquisition of the Global Lock for<br />

synchronization. This field should be set to Lock on system with firmware that may access the<br />

GenericSerialBus, <strong>and</strong> NoLock otherwise. On Hardware-reduced ACPI platforms, there is not a<br />

global lock so this parameter is ignored.<br />

230 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!