blob: 08ba177b207e1a9b494b415218fcf521b82cf900 [file] [log] [blame] [edit]
// 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 fuchsia.boot;
using zx;
/// Protocol for providing the kernel log, readable.
@discoverable
protocol ReadOnlyLog {
/// Get read-only handle to the kernel `log`.
Get() -> (resource struct {
log zx.handle:LOG;
});
};
/// Protocol for providing the kernel log, writable.
@discoverable
protocol WriteOnlyLog {
/// Get write-only handle to the kernel `log`.
Get() -> (resource struct {
log zx.handle:LOG;
});
};