]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/i386_get_ldt.html
xnu-1228.tar.gz
[apple/xnu.git] / osfmk / man / i386_get_ldt.html
index a00080de079858881be40aa792969ef9c69ba5f5..9f09da6a78e8f9ea77a13a55fee11bb26b399a8b 100755 (executable)
@@ -1 +1,49 @@
-<h2>i386_get_ldt</h2>\r<hr>\r<p>\r<strong>Function</strong> - Return per-thread segment descriptors.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t   i386_get_ldt</strong>\r                <strong>(thread_act_t</strong>                        <var>target_act</var>,\r                 <strong>int</strong>                             <var>first_selector</var>,\r                 <strong>int</strong>                              <var>desired_count</var>,\r                 <strong>descriptor_list_t</strong>                    <var>desc_list</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>target_act</var> \r<dd>\r[in thread send right]\rThread whose segment descriptors are to be\rreturned.\r<p>\r<dt> <var>first_selector</var>\r<dd>\r[in scalar] Selector value (segment register value) corresponding to the \rfirst segment whose descriptor is to be returned.\r<p>\r<dt> <var>desired_count</var> \r<dd>\r[in scalar]\rNumber of returned descriptors desired.\r<p>\r<dt> <var>desc_list</var> \r<dd>\r[out pointer to dynamic array of <strong>descriptor_t</strong>]\rArray of segment\rdescriptors.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>i386_get_ldt</strong> function returns per-thread segment\rdescriptors from the \rthread's local descriptor table (LDT).\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="i386_set_ldt.html"><strong>i386_set_ldt<strong></a>.\r
\ No newline at end of file
+<h2>i386_get_ldt</h2>
+<hr>
+<p>
+<strong>Function</strong> - Return per-thread segment descriptors.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>kern_return_t   i386_get_ldt</strong>
+                <strong>(thread_act_t</strong>                        <var>target_act</var>,
+                 <strong>int</strong>                             <var>first_selector</var>,
+                 <strong>int</strong>                              <var>desired_count</var>,
+                 <strong>descriptor_list_t</strong>                    <var>desc_list</var><strong>);</strong>
+</pre>
+<h3>PARAMETERS</h3>
+<dl>
+<p>
+<dt> <var>target_act</var> 
+<dd>
+[in thread send right]
+Thread whose segment descriptors are to be
+returned.
+<p>
+<dt> <var>first_selector</var>
+<dd>
+[in scalar] Selector value (segment register value) corresponding to the 
+first segment whose descriptor is to be returned.
+<p>
+<dt> <var>desired_count</var> 
+<dd>
+[in scalar]
+Number of returned descriptors desired.
+<p>
+<dt> <var>desc_list</var> 
+<dd>
+[out pointer to dynamic array of <strong>descriptor_t</strong>]
+Array of segment
+descriptors.
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>i386_get_ldt</strong> function returns per-thread segment
+descriptors from the 
+thread's local descriptor table (LDT).
+<h3>RETURN VALUES</h3>
+<p>
+Only generic errors apply.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="i386_set_ldt.html"><strong>i386_set_ldt<strong></a>.