]>
Commit | Line | Data |
---|---|---|
13fec989 A |
1 | <h2>i386_get_ldt</h2> |
2 | <hr> | |
3 | <p> | |
4 | <strong>Function</strong> - Return per-thread segment descriptors. | |
5 | <h3>SYNOPSIS</h3> | |
6 | <pre> | |
7 | <strong>kern_return_t i386_get_ldt</strong> | |
8 | <strong>(thread_act_t</strong> <var>target_act</var>, | |
9 | <strong>int</strong> <var>first_selector</var>, | |
10 | <strong>int</strong> <var>desired_count</var>, | |
11 | <strong>descriptor_list_t</strong> <var>desc_list</var><strong>);</strong> | |
12 | </pre> | |
13 | <h3>PARAMETERS</h3> | |
14 | <dl> | |
15 | <p> | |
16 | <dt> <var>target_act</var> | |
17 | <dd> | |
18 | [in thread send right] | |
19 | Thread whose segment descriptors are to be | |
20 | returned. | |
21 | <p> | |
22 | <dt> <var>first_selector</var> | |
23 | <dd> | |
24 | [in scalar] Selector value (segment register value) corresponding to the | |
25 | first segment whose descriptor is to be returned. | |
26 | <p> | |
27 | <dt> <var>desired_count</var> | |
28 | <dd> | |
29 | [in scalar] | |
30 | Number of returned descriptors desired. | |
31 | <p> | |
32 | <dt> <var>desc_list</var> | |
33 | <dd> | |
34 | [out pointer to dynamic array of <strong>descriptor_t</strong>] | |
35 | Array of segment | |
36 | descriptors. | |
37 | </dl> | |
38 | <h3>DESCRIPTION</h3> | |
39 | <p> | |
40 | The <strong>i386_get_ldt</strong> function returns per-thread segment | |
41 | descriptors from the | |
42 | thread's local descriptor table (LDT). | |
43 | <h3>RETURN VALUES</h3> | |
44 | <p> | |
45 | Only generic errors apply. | |
46 | <h3>RELATED INFORMATION</h3> | |
47 | <p> | |
48 | Functions: | |
49 | <a href="i386_set_ldt.html"><strong>i386_set_ldt<strong></a>. |