## i386_io_port_remove

Function - Disable target thread's ability to invoke operations on the specified device.

### SYNOPSIS

    kern_return_t   i386_io_port_remove
                    (thread_act_t                        target_act,
                     device_t                                device);

### PARAMETERS

target_act
  [in thread send right] Thread whose permission bitmap is to be cleared

device
  [in device send right] Device whose permission is to be revoked

### DESCRIPTION

The i386_io_port_remove function removes the specified device from the thread's I/O permission bitmap, thereby prohibiting I/O instructions being executed against the device.

### RETURN VALUES

Only generic errors apply.

### RELATED INFORMATION

Functions: i386_io_port_add, i386_io_port_list.