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

2. ACPI 2 or greater is supported. Both 32-bit <strong>and</strong> 64-bit integers are supported.<br />

Actual integer width depends on the revision of the DSDT (revision < 2 means 32-bit. >= 2<br />

means 64-bit).<br />

Other values - Reserved<br />

5.7.5 _DLM (DeviceLock Mutex)<br />

This object appears in a device scope when AML access to the device must be synchronized with the<br />

OS environment. It is used in conjunction with a st<strong>and</strong>ard Mutex object. With _DLM, the st<strong>and</strong>ard<br />

Mutex provides synchronization within the AML environment as usual, but also synchronizes with<br />

the OS environment.<br />

_DLM evaluates to a package of packages, each containing a reference to a Mutex <strong>and</strong> an optional<br />

resource template protected by the Mutex, If only the Mutex name is specified, then the sharing rules<br />

(i.e. which resources are protected by the lock) are defined by a predefined contract between the<br />

AML <strong>and</strong> the OS device driver. If the resource template is specified, then only those resources<br />

within the resource template are protected.<br />

Arguments:<br />

None<br />

Return Value:<br />

A variable-length Package containing sub-packages of Mutex References <strong>and</strong> resource templates.<br />

The resource template in each subpackage is optional.<br />

Return Value Information<br />

Package {<br />

DeviceLockInfo [0]<br />

. . .<br />

DeviceLockInfo [n]<br />

}<br />

// Package<br />

// Package<br />

Each variable-length DeviceLockInfo sub-Package contains either one element or 2 elements, as<br />

described below:<br />

Package {<br />

DeviceLockMutex<br />

Resources<br />

}<br />

// Reference to a Mutex object<br />

// Buffer or Reference (Resource Template)<br />

Table 5-166 DeviceLockInfo Package Values<br />

Element Object Type Description<br />

DeviceLockMutex Reference A reference to the mutex that is to be shared between the AML<br />

code <strong>and</strong> the host operating system.<br />

Resources<br />

Buffer (or<br />

reference to a<br />

Buffer)<br />

Optional. Contains a Resource Template that describes the<br />

resources that are to be protected by the Device Lock Mutex.<br />

274 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!