| // 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 Resource { |
| /// Create a resource object. |
| [In0="handle<resource>:rights=WRITE", |
| Out1="handle<resource>:acquire"] |
| Create(handle<resource> parent_rsrc, |
| uint32 options, |
| uint64 base, |
| usize size, |
| vector<uint8> name) -> |
| (status status, handle<resource> resource_out); |
| }; |