| // Copyright 2022 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. | |
| { | |
| include: [ | |
| "inspect/client.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| program: { | |
| runner: "elf", | |
| binary: "bin/kernel_debug_broker", | |
| }, | |
| capabilities: [ | |
| { | |
| protocol: [ | |
| "fuchsia.kernel.Counter", | |
| "fuchsia.kernel.DebugBroker", | |
| ], | |
| }, | |
| ], | |
| use: [ | |
| { | |
| directory: "boot-kernel", | |
| rights: [ "r*" ], | |
| path: "/boot/kernel", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.boot.WriteOnlyLog", | |
| "fuchsia.kernel.DebugResource", | |
| ], | |
| }, | |
| ], | |
| expose: [ | |
| { | |
| protocol: [ | |
| "fuchsia.kernel.Counter", | |
| "fuchsia.kernel.DebugBroker", | |
| ], | |
| from: "self", | |
| }, | |
| { | |
| protocol: "fuchsia.component.Binder", | |
| from: "framework", | |
| }, | |
| ], | |
| } |