next up previous contents index
Next: 6.14.2 osenv_io_alloc: Allocate a Up: 6.14 I/O Ports Previous: 6.14 I/O Ports

6.14.1 osenv_io_avail: Check availability of a range of ports

 

SYNOPSIS

oskit_bool_t osenv_io_avail(oskit_addr_t port, oskit_size_t size);

DIRECTION

Component tex2html_wrap_inline32841 OS, Nonblocking

DESCRIPTION

Returns true (nonzero) if the range is free; false (zero) if any ports in the range are already allocated.

PARAMETERS

port
The start of the I/O range.
size
The number of ports to check.

RETURNS

Returns 0 (false) if any part of the range is unavailable, non-zero otherwise.



University of Utah Flux Research Group