fuchsia.system.state

Added: HEAD

PROTOCOLS

SystemStateTransition

Defined in fuchsia.system.state/system-state-transition.fidl

Provides protocol for fetching relevant information during a system state transition.

GetMexecZbis

When the system termination state is MEXEC, in the course of shutting down, driver_manager will perform an mexec itself after suspending all drivers. This method allows driver manager to fetch the kernel and data ZBIs to be passed to zx_system_mexec().

This method only should only be invoked in the case MEXEC shutdown.

It is expected that the ZBI items specified by zx_system_mexec_payload_get() have not yet been appended to the provided data ZBI.

Returns

  • ZX_ERR_BAD_STATE: The termination system state is not set to MEXEC.

Request

<EMPTY>

Response

NameType
payload SystemStateTransition_GetMexecZbis_Result

GetTerminationSystemState

Gets the termination state.

Request

<EMPTY>

Response

NameType
state SystemPowerState

STRUCTS

SystemStateTransition_GetMexecZbis_Response resource

Defined in fuchsia.system.state/system-state-transition.fidl

FieldTypeDescriptionDefault
kernel_zbi handle<vmo> No default
data_zbi handle<vmo> No default

ENUMS

SystemPowerState strict

Type: uint8

Defined in fuchsia.system.state/system-state-transition.fidl

NameValueDescription
1
2
3
4
5
6
7
8

UNIONS

SystemStateTransition_GetMexecZbis_Result strict resource

Defined in fuchsia.system.state/system-state-transition.fidl

OrdinalVariantTypeDescription
response SystemStateTransition_GetMexecZbis_Response
err zx/Status

CONSTANTS

NameValueTypeDescription
MAX_SYSTEM_POWER_STATES 8 uint32

The number of variants of SystemPowerState.