template <>
class WireSyncClientImpl
Defined at line 469 of file fidling/gen/sdk/fidl/fuchsia.system.state/fuchsia.system.state/cpp/fidl/fuchsia.system.state/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_system_state::SystemStateTransition>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_system_state::SystemStateTransition::GetTerminationSystemState> GetTerminationSystemState ()
Gets the termination state.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_system_state::SystemStateTransition::GetMexecZbis> 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.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.