// 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.kernel; | |
/// Acts on behalf of the caller to interact with privileged mexec system call. | |
[Discoverable, Layout = "Simple"] | |
protocol MexecBroker { | |
/// Perform an mexec with the given kernel and bootdata. | |
/// See ZX-2069 for the thoughts on deprecating mexec. | |
PerformMexec(handle<vmo> kernel, handle<vmo> bootdata); | |
}; |