Google is committed to advancing racial equity for Black communities. See how.

fuchsia.hardware.acpi

PROTOCOLS

Acpi

Defined in fuchsia.hardware.acpi/acpi.fidl

Defines access to raw system ACPI data.

This interface is intended only for low-level debugging tools.

ListTableEntries

Return the list of ACPI tables present in the system.

Request

NameType

Response

NameType
result Acpi_ListTableEntries_Result

ReadNamedTable

Write the raw content of the named ACPI table into the given VMO.

Some systems may have multiple ACPI tables with the same name ("SSDT" is a commonly repeated table, for example). |instance| is used to specify which instance of the named table to return. A value of |n| returns the |n|'th occurence. If only one table with the given name is present, |instance| should be 0.

On success, returns the number of bytes written into result.

Request

NameType
name AcpiTableSignature
instance uint32
result handle<vmo>

Response

NameType
result Acpi_ReadNamedTable_Result

STRUCTS

Acpi_ListTableEntries_Response

Defined in fuchsia.hardware.acpi/acpi.fidl

NameTypeDescriptionDefault
entries vector<TableInfo>[512] No default

Acpi_ReadNamedTable_Response

Defined in fuchsia.hardware.acpi/acpi.fidl

NameTypeDescriptionDefault
size uint32 No default

TableInfo

Defined in fuchsia.hardware.acpi/acpi.fidl

Metadata about an ACPI table entry.

NameTypeDescriptionDefault
name AcpiTableSignature

Name of the table. There may be multiple tables with the same name.

No default
size uint32

The size of the table, in bytes.

No default

UNIONS

Acpi_ListTableEntries_Result

Defined in fuchsia.hardware.acpi/acpi.fidl

NameTypeDescription
response Acpi_ListTableEntries_Response
err zx/status

Acpi_ReadNamedTable_Result

Defined in fuchsia.hardware.acpi/acpi.fidl

NameTypeDescription
response Acpi_ReadNamedTable_Response
err zx/status

CONSTANTS

NameValueTypeDescription
MAX_ACPI_TABLE_ENTRIES 512 uint32

TYPE ALIASES

NameValueDescription
AcpiTableSignature array[4]

An ACPI table name signature. This consists of four ASCII characters.