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-Defined Devices <strong>and</strong> Device-Specific Objects<br />

ATA task file array definition:<br />

• Seven register values for comm<strong>and</strong> 1<br />

— Reg values: (1F1, 1F2, 1F3, 1F4, 1F5, 1F6, 1F7)<br />

• Seven register values for comm<strong>and</strong> 2<br />

— Reg values: (1F1, 1F2, 1F3, 1F4, 1F5, 1F6, 1F7)<br />

• Seven register values for comm<strong>and</strong> 3<br />

— Reg values: (1F1, 1F2, 1F3, 1F4, 1F5, 1F6, 1F7)<br />

• Etc.<br />

After powering up the drive, OSPM will send these comm<strong>and</strong>s to the drive, in the order specified.<br />

On SATA HBAs, OSPM evaluates _SDD before evaluating _GTF. The IDE driver may modify<br />

some of the feature comm<strong>and</strong>s or append its own to better tune the drive for OSPM features before<br />

sending the comm<strong>and</strong>s to the drive.<br />

This Control Method is listed under each drive device object. OSPM must evaluate the _STM object<br />

or the _SDD object before evaluating the _GTF object.<br />

Example of the return from _GTF:<br />

Method(_GTF, 0x0, NotSerialized)<br />

{<br />

Return(GTF0)<br />

}<br />

Name(GTF0, Buffer(0x1c)<br />

{<br />

0x03, 0x00, 0x00, 0x00, 0x00, 0xa0, 0xef, 0x03, 0x00, 0x00, 0x00, 0x00,<br />

0xa0, 0xef, 0x00, 0x10, 0x00, 0x00, 0x00, 0xa0, 0xc6, 0x00, 0x00, 0x00,<br />

0x00, 0x00, 0xa0, 0x91<br />

}<br />

9.8.2 IDE Controller Device<br />

Most device drivers can save <strong>and</strong> restore the registers of their device. For IDE controllers <strong>and</strong> drives,<br />

this is not true because there are several drive settings for which ATA does not provide mechanisms<br />

to read. Further, there is no industry st<strong>and</strong>ard for setting timing information for IDE controllers.<br />

Because of this, ACPI interface mechanisms are necessary to provide the operating system<br />

information about the current settings for the drive <strong>and</strong> channel, <strong>and</strong> for setting the timing for the<br />

channel.<br />

OSPM <strong>and</strong> the IDE driver will follow these steps when powering off the IDE subsystem:<br />

1. The IDE driver will call the _GTM control method to get the current transfer timing settings for<br />

the IDE channel. This includes information about DMA <strong>and</strong> PIO modes.<br />

2. The IDE driver will call the st<strong>and</strong>ard OS services to power down the drives <strong>and</strong> channel.<br />

3. As a result, OSPM will execute the appropriate _PS3 methods <strong>and</strong> turn off unneeded power<br />

resources.<br />

To power on the IDE subsystem, OSPM <strong>and</strong> the IDE driver will follow these steps:<br />

1. The IDE driver will call the st<strong>and</strong>ard OS services to turn on the drives <strong>and</strong> channel.<br />

2. As a result, OSPM will execute the appropriate _PS0 methods <strong>and</strong> turn on required power<br />

resources.<br />

Version 6.0 509

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

Saved successfully!

Ooh no, something went wrong!