fuchsia.hardware.mailbox

Added: HEAD

PROTOCOLS

Channel

Defined in fuchsia.hardware.mailbox/mailbox.fidl

Channel represents a single mailbox channel that can be used to send messages to a destination core.

SendMessage

Writes the message to the mailbox, interrupts the destination core, and (if applicable) waits for the destination core to ack the message.

Returns ZX_ERR_OUT_OF_RANGE if message is larger than what the hardware can support.

Request

NameType
message vector<uint8>

Response

NameType
payload Channel_SendMessage_Result

STRUCTS

Channel_SendMessage_Response

Defined in fuchsia.hardware.mailbox/mailbox.fidl

<EMPTY>

TABLES

ChannelInfo

Defined in fuchsia.hardware.mailbox/metadata.fidl

OrdinalFieldTypeDescription
channel uint32

Channel number, unique for this controller. Required.

ControllerInfo

Defined in fuchsia.hardware.mailbox/metadata.fidl

'MBOX'

OrdinalFieldTypeDescription
id uint32

Board-specific controller ID. Optional.

channels vector<ChannelInfo>

Mailbox channels. Optional.

UNIONS

Channel_SendMessage_Result strict

Defined in fuchsia.hardware.mailbox/mailbox.fidl

OrdinalVariantTypeDescription
response Channel_SendMessage_Response
err zx/Status

CONSTANTS

NameValueTypeDescription
CONTROLLER_INFO_METADATA_TYPE 1481589325 uint32

ControllerInfo is passed to mailbox controller drivers via metadata.

SERVICES

Service

Defined in fuchsia.hardware.mailbox/mailbox.fidl

NameTypeTransport
channel fuchsia.hardware.mailbox/Channel Channel