blob: 3087739dcb0c3afaeff370fa6aa9cb5f85171aa7 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library ddk.protocol.mailbox;
using zx;
struct MailboxDataBuf {
uint32 cmd;
vector<voidptr> tx;
};
struct MailboxChannel {
uint32 mailbox;
vector<voidptr> rx;
};
[Layout = "ddk-protocol"]
interface Mailbox {
SendCommand(MailboxChannel channel, MailboxDataBuf mdata) -> (zx.status s);
};