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.

ACPI Software Programming Model<br />

Example:<br />

Device (DEV1)<br />

{<br />

Mutex (MTX1, 0)<br />

Name (RES1, ResourceTemplate ()<br />

{<br />

I2cSerialBus (0x0400, DeviceInitiated, 0x00001000,<br />

AddressingMode10Bit, "\\_SB.DEV1",<br />

0, ResourceConsumer, I2C1)<br />

})<br />

}<br />

Name (_DLM, Package (1)<br />

{<br />

Package (2)<br />

{<br />

MTX1,<br />

RES1<br />

}<br />

})<br />

Device (DEV2)<br />

{<br />

Mutex (MTX2, 0)<br />

Mutex (MTX3, 0)<br />

Name (_DLM, Package (2)<br />

{<br />

Package (2)<br />

{<br />

\DEV2.MTX2,<br />

ResourceTemplate ()<br />

{<br />

I2cSerialBus (0x0400, DeviceInitiated, 0x00001000,<br />

AddressingMode10Bit, "\\_SB.DEV2",<br />

0, ResourceConsumer, I2C2)<br />

}<br />

},<br />

Package (1) // Optional resource not needed<br />

{<br />

\DEV2.MTX3<br />

}<br />

})<br />

}<br />

5.8 System <strong>Configuration</strong> Objects<br />

5.8.1 _PIC Method<br />

The \_PIC optional method is used to report to the BIOS the current interrupt model used by the OS.<br />

This control method returns nothing. The argument passed into the method signifies the interrupt<br />

model OSPM has chosen, PIC mode, APIC mode, or SAPIC mode. Notice that calling this method is<br />

optional for OSPM. If the method is never called, the BIOS must assume PIC mode. It is important<br />

that the BIOS save the value passed in by OSPM for later use during wake operations.<br />

Arguments: (1)<br />

Arg0 – An Integer containing a code for the current interrupt model:<br />

Version 6.0 275

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

Saved successfully!

Ooh no, something went wrong!