blob: 9fa8508f2f1e23aa0034f2f1db732b43fd43a82e [file] [log] [blame]
// Copyright 2019 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 zx;
[Transport = "Syscall"]
protocol debug {
/// Rights: handle must have resource kind ZX_RSRC_KIND_ROOT.
debug_read(handle:RESOURCE handle) -> (status status, string buffer, usize actual);
debug_write(string buffer) -> (status status);
/// Rights: resource must have resource kind ZX_RSRC_KIND_ROOT.
debug_send_command(handle:RESOURCE resource, string buffer) -> (status status);
};