blob: 6b97058fd3a121cb1f11eda72c220b1cbb637b86 [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.
library zx;
[Transport = "Syscall"]
protocol ioports {
/// Rights: resource must have resource kind ZX_RSRC_KIND_IOPORT.
ioports_request(handle:RESOURCE resource, uint16 io_addr, uint32 len) -> (status status);
/// Rights: resource must have resource kind ZX_RSRC_KIND_IOPORT.
ioports_release(handle:RESOURCE resource, uint16 io_addr, uint32 len) -> (status status);
};