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

Method(_EJ0, 1)<br />

{<br />

Store(Zero, ^^S3LE)<br />

}<br />

} // end SLT3<br />

} // end scope \_SB.PCI4<br />

Scope (\_GPE)<br />

{<br />

Method(_E13)<br />

{<br />

Store(One, \_SB.PCI4.S3LE)<br />

Notify(\_SB.PCI4.SLT3, 3)<br />

}<br />

}<br />

// Successful ejection sequence<br />

// Turn off Ejection Progress LED<br />

// Turn on ejection request LED<br />

// Ejection request driven from GPE13<br />

6.3.6 _RMV (Remove)<br />

The optional _RMV object indicates to OSPM whether the device can be removed while the system<br />

is in the working state <strong>and</strong> does not require any ACPI system firmware actions to be performed for<br />

the device to be safely removed from the system (in other words, any device that only supports<br />

surprise-style removal). Any such removable device that does not have _LCK or _EJx control<br />

methods must have an _RMV object. This allows OSPM to indicate to the user that the device can be<br />

removed <strong>and</strong> to provide a way for shutting down the device before removing it. OSPM will<br />

transition the device into D3 before telling the user it is safe to remove the device.<br />

This method is reevaluated after a device-check notification.<br />

Arguments:<br />

None<br />

Return Value:<br />

An Integer containing the device removal status<br />

0 – The device cannot be removed<br />

1 – The device can be removed<br />

Note: Operating Systems implementing ACPI 1.0 interpret the presence of this object to mean that the<br />

device is removable.<br />

6.3.7 _STA (Status)<br />

This object returns the current status of a device, which can be one of the following: enabled,<br />

disabled, or removed.<br />

OSPM evaluates the _STA object before it evaluates a device _INI method. The return values of the<br />

Present <strong>and</strong> Functioning bits determines whether _INI should be evaluated <strong>and</strong> whether children of<br />

the device should be enumerated <strong>and</strong> initialized. See Section 6.5.1, “_INI (Init)”.<br />

If a device object describes a device that is not on an enumerable bus <strong>and</strong> the device object does not<br />

have an _STA object, then OSPM assumes that the device is present, enabled, shown in the UI, <strong>and</strong><br />

functioning.<br />

This method must not reference any operation regions that have not been declared available by a<br />

_REG method.<br />

Version 6.0 341

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

Saved successfully!

Ooh no, something went wrong!