blob: b4e20c69ef9c31c9251e6f8f6b8dd72e0d14a3b4 [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.
// !!! THIS FILE IS NOT YET USED !!!
// See //zircon/system/public/zircon/syscalls.banjo.
// !!! THIS FILE IS NOT YET USED !!!
library zz;
[Transport="Syscall"]
protocol Exception {
/// Create a handle for the exception's thread.
[Out1="handle<thread>:acquire"]
GetThread(handle<exception> handle) -> (status status, handle<thread> out);
/// Create a handle for the exception's process.
[Out1="handle<process>:acquire"]
GetProcess(handle<exception> handle) -> (status status, handle<process> out);
};