| // 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 zx; | |
| struct PciBar { | |
| uint32 unused; | |
| }; | |
| struct PciInitArg { | |
| uint32 unused; | |
| }; | |
| struct PcieDeviceInfo { | |
| uint32 unused; | |
| }; | |
| [Transport="Syscall"] | |
| protocol ReservedWords { | |
| // These argument names can't used as identifiers in Go, make sure they're | |
| // remapped to something else. | |
| MyFunc(uint32 type, uint32 func, uint32 g) -> (status status); | |
| PciTypes(PciBar bar, PciInitArg initarg, PcieDeviceInfo device_info) -> (status status); | |
| }; |