X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/i386_io_port_add.html diff --git a/osfmk/man/i386_io_port_add.html b/osfmk/man/i386_io_port_add.html index 241c4d872..a65d732b3 100755 --- a/osfmk/man/i386_io_port_add.html +++ b/osfmk/man/i386_io_port_add.html @@ -1 +1,46 @@ -

i386_io_port_add


Function - Permit target thread to invoke operations on the specified device.

SYNOPSIS

kern_return_t   i386_io_port_add
                (thread_act_t                        target_act,
                 device_t                                device);

PARAMETERS

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

device
[in device send right] The device to which I/O instructions are to be permitted.

DESCRIPTION

The i386_io_port_add function adds a device to the I/O permission bitmap for a thread, thereby permitting the thread to execute I/O instructions against the device.

NOTES

Normally, the thread must have called i386_io_port_add for all devices to which it will execute I/O instructions. However, possessing send rights to the iopl device port will cause the iopl device to be automatically added to the thread's I/O map upon first attempted access. This is a backward compatibility feature for the DOS emulator.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: i386_io_port_list, i386_io_port_remove. \ No newline at end of file +

i386_io_port_add

+
+

+Function - Permit target thread to invoke operations on the specified device. +

SYNOPSIS

+
+kern_return_t   i386_io_port_add
+                (thread_act_t                        target_act,
+                 device_t                                device);
+
+

PARAMETERS

+
+

+

target_act +
+[in thread send right] +Thread whose permission bitmap is to be set. +

+

device +
+[in device send right] +The device to which I/O instructions are to be +permitted. +
+

DESCRIPTION

+

+The i386_io_port_add function adds a device to the +I/O permission bitmap for a +thread, thereby permitting the thread to execute I/O instructions against the +device. +

NOTES

+

+Normally, the thread must have called i386_io_port_add +for all devices to which it will execute I/O instructions. However, possessing +send rights to the iopl device port will cause the +iopl device to be automatically added to the +thread's I/O map upon first attempted access. This is a backward +compatibility feature for the DOS emulator. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +i386_io_port_list, +i386_io_port_remove.