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.

Device <strong>Configuration</strong><br />

Note: If the machine does not support PNPBIOS, this object is not required.<br />

6.5.4 _REG (Region)<br />

The OS runs _REG control methods to inform AML code of a change in the availability of an<br />

operation region. When an operation region h<strong>and</strong>ler is unavailable, AML cannot access data fields in<br />

that region. (Operation region writes will be ignored <strong>and</strong> reads will return indeterminate data.).<br />

Arguments: (2)<br />

Arg0 – An Integer containing the Operation Region address space ID<br />

Arg1 – An Integer containing the h<strong>and</strong>ler connection code<br />

0 – disconnect the h<strong>and</strong>ler<br />

1 – connect the h<strong>and</strong>ler<br />

Return Value:<br />

None<br />

Valid Operation Region address space IDs:<br />

0 – SystemMemory<br />

1 – SystemIO<br />

2 – PCI_Config<br />

3 – Embedded Controller<br />

4 – SMBus<br />

5 – SystemCMOS<br />

6 – PCIBARTarget<br />

7 – IPMI<br />

8 - GeneralPurposeIO<br />

9 - GenericSerialBus<br />

0x0A-0x7F –Reserved<br />

0x80-0xFF –OEM (custom) region space<br />

Except for the cases shown below, control methods must assume all operation regions inaccessible<br />

until the _REG(RegionSpace, 1) method is executed. Once _REG has been executed for a particular<br />

operation region, indicating that the operation region h<strong>and</strong>ler is ready, a control method can access<br />

fields in the operation region. Conversely, control methods must not access fields in operation<br />

regions when _REG method execution has not indicated that the operation region h<strong>and</strong>ler is ready.<br />

For example, until the Embedded Controller driver is ready, the control methods cannot access the<br />

Embedded Controller. Once OSPM has run _REG(EmbeddedControl, 1), the control methods can<br />

then access operation regions in Embedded Controller address space. Furthermore, if OSPM<br />

executes _REG(EmbeddedControl, 0), control methods must stop accessing operation regions in the<br />

Embedded Controller address space.<br />

The exceptions for this rule are:<br />

1. OSPM must guarantee that the following operation regions must always be accessible:<br />

• PCI_Config operation regions on a PCI root bus containing a _BBN object.<br />

Version 6.0 383

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

Saved successfully!

Ooh no, something went wrong!