blob: c3141d8e6cbabe37f4f9f52829aed307e9a3a70b [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(resource struct {
resource handle:RESOURCE;
io_addr uint16;
len uint32;
}) -> (struct {
status status;
});
/// Rights: resource must have resource kind ZX_RSRC_KIND_IOPORT.
ioports_release(resource struct {
resource handle:RESOURCE;
io_addr uint16;
len uint32;
}) -> (struct {
status status;
});
};