18.12.2012 Views

Advanced Configuration and Power Interface Specification

Advanced Configuration and Power Interface Specification

Advanced Configuration and Power Interface Specification

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 Platform Error <strong>Interface</strong>s (APEI)<br />

own purposes. It may use these bits to indicate the busy/free status of an error record, to record an<br />

internal identifier, etc.<br />

Table 18-297 Error Record Serialization Info<br />

Field Bit<br />

Length<br />

18.5.2 Operations<br />

Bit<br />

Offset<br />

Description<br />

Signature 16 0 16-bit signature (‘ER’) identifying the start of the error<br />

record serialization data.<br />

Platform Serialization Data 48 16 Platform private error record serialization information.<br />

The error record serialization interface comprises three operations: Write, Read, <strong>and</strong> Clear. OSPM<br />

uses the Write operation to write a single error record to the persistent store. The Read operation is<br />

used to retrieve a single error record previously recorded to the persistent store using the write<br />

operation. The Clear operation allows OSPM to notify the platform that a given error record has<br />

been fully processed <strong>and</strong> is no longer needed, allowing the platform to recover the storage associated<br />

with a cleared error record.<br />

Where the Error Log Address Range is NVRAM, significant optimizations are possible since<br />

transfer from the Error Log Address Range to a separate storage device is unnecessary. The platform<br />

may still, however, copy the record from NVRAM to another device, should it choose to. This<br />

allows, for example, the platform to copy error records to private log files. In order to give the<br />

platform the opportunity to do this, OSPM must use the Write operation to persist error records even<br />

when the Error Log Address Range is NVRAM. The Read <strong>and</strong> Clear operations, however, are<br />

unnecessary in this case as OSPM is capable of reading <strong>and</strong> clearing error records without assistance<br />

from the platform.<br />

18.5.2.1 Writing<br />

To write a single HW error record, OSPM executes the following steps:<br />

1. Initializes the error record’s serialization info. OSPM must fill in the Signature.<br />

2. Writes the error record to be persisted into the<br />

3. Error Log Address Range.<br />

4. Executes the BEGIN_WRITE_OPERATION action to notify the platform that a record write<br />

operation is beginning.<br />

5. Executes the SET_RECORD_OFFSET action to inform the platform where in the<br />

6. Error Log Address Range the error record resides.<br />

7. Executes the EXECUTE_OPERATION action to instruct the platform to begin the write<br />

operation.<br />

8. Busy waits by continually executing CHECK_BUSY_STATUS action until FALSE is returned.<br />

9. Executes a GET_COMMAND_STATUS action to determine the status of the write operation.<br />

If an error is indicated, the OS<br />

10. PM may retry the operation.<br />

658 Hewlett-Packard/Intel/Microsoft/Phoenix/Toshiba

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

Saved successfully!

Ooh no, something went wrong!