blob: 064ef564b4a1a7af5cd6a66cf3388ba5e43d05bb [file] [log] [blame] [edit]
// Copyright 2021 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.kernel;
using zx;
/// Protocol for providing a `ZX_RSRC_KIND_SYSTEM` with base
/// `ZX_RSRC_SYSTEM_CPU_BASE`.
@discoverable
protocol CpuResource {
/// Get a CPU resource handle.
Get() -> (resource struct {
resource zx.handle:RESOURCE;
});
};