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
| Name | Type | 
|---|---|
message | 
            
                vector<uint8>
             | 
        
Response
| Name | Type | 
|---|---|
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
| Ordinal | Field | Type | Description | 
|---|---|---|---|
1 | 
            channel | 
            
                uint32
             | 
            Channel number, unique for this controller. Required.  | 
        
ControllerInfo
Defined in fuchsia.hardware.mailbox/metadata.fidl
ControllerInfo is passed to mailbox controller drivers via metadata.
| Ordinal | Field | Type | Description | 
|---|---|---|---|
1 | 
            id | 
            
                uint32
             | 
            Board-specific controller ID. Optional.  | 
        
2 | 
            channels | 
            
                vector<ChannelInfo>
             | 
            Mailbox channels. Optional.  | 
        
UNIONS
Channel_SendMessage_Result strict
Defined in fuchsia.hardware.mailbox/mailbox.fidl
| Ordinal | Variant | Type | Description | 
|---|---|---|---|
1 | 
            response | 
            
                Channel_SendMessage_Response
             | 
            |
2 | 
            err | 
            
                zx/Status
             | 
            
SERVICES
Service
Defined in fuchsia.hardware.mailbox/mailbox.fidl
| Name | Type | Transport | 
|---|---|---|
| channel | 
                fuchsia.hardware.mailbox/Channel
             | 
            Channel |