oskit_bool_t osenv_io_avail(oskit_addr_t port, oskit_size_t size);
Component OS, Nonblocking
Returns true (nonzero) if the range is free; false (zero) if any ports in the range are already allocated.
- port
- The start of the I/O range.
- size
- The number of ports to check.
Returns 0 (false) if any part of the range is unavailable, non-zero otherwise.