Back to Darwin Xnu

I386 Io Port List

osfmk/man/i386_io_port_list.html

latest834 B
Original Source

i386_io_port_list


Function - List the devices that permit target thread to invoke operations.

SYNOPSIS

**kern\_return\_t i386\_io\_port\_list**** (thread\_act\_t **target\_act,** device\_list\_t **device\_list** );**

PARAMETERS

target_act[in thread send right] Thread whose permission list is to be returned.

device_list[out pointer to dynamic array of device send rights] Device ports permitting I/O.

DESCRIPTION

The i386_io_port_list function returns a list of the devices named in the thread's I/O permission bitmap, namely those permitting I/O instructions to be executed against them.

RETURN VALUES

Only generic errors apply.

Functions: i386_io_port_add, i386_io_port_remove.