]>
Commit | Line | Data |
---|---|---|
13fec989 A |
1 | <h2>vm_set_default_memory_manager</h2> |
2 | <hr> | |
3 | <p> | |
4 | <strong>Function</strong> - Obsolete interface. Functionality now provided via host_set_default_memory_manager interface.<h3>SYNOPSIS</h3> | |
5 | <pre> | |
6 | <strong>kern_return_t vm_set_default_memory_manager</strong> | |
7 | <strong>(host_priv_t</strong> <var>host_priv</var>, | |
8 | <strong>mach_port_move_send_t</strong> <var>default_manager</var><strong>);</strong> | |
9 | </pre> | |
10 | <h3>PARAMETERS</h3> | |
11 | <dl> | |
12 | <p> | |
13 | <dt> <var>host_priv</var> | |
14 | <dd> | |
15 | [in host-control send right] | |
16 | The control port naming the host for which | |
17 | the default memory manager is to be set. | |
18 | <p> | |
19 | <dt> <var>default_manager</var> | |
20 | <dd> | |
21 | [pointer to in/out default-pager send right] | |
22 | A memory manager port to | |
23 | the new default memory manager. If this value is <strong>MACH_PORT_NULL</strong>, | |
24 | the old memory manager is not changed. The old memory | |
25 | manager port is returned in this variable. | |
26 | </dl> | |
27 | <h3>DESCRIPTION</h3> | |
28 | <p> | |
29 | The <strong>vm_set_default_memory_manager</strong> function establishes the default | |
30 | memory manager for a host. The named manager will be the target for future | |
31 | <strong>memory_object_create</strong> calls. | |
32 | <h3>NOTES</h3> | |
33 | The <strong>vm_set_default_memory_manager</strong> interface has been | |
34 | renamed to <strong>host_default_memory_manager</strong>. The old | |
35 | <strong>vm_set_default_memory_manager</strong> interface has been retained | |
36 | for backward compatibility, without the <var>cluster_size</var> parameter. | |
37 | <h3>RETURN VALUES</h3> | |
38 | <p> | |
39 | Only generic errors apply. | |
40 | <h3>RELATED INFORMATION</h3> | |
41 | <p> | |
42 | Functions: | |
43 | <a href="memory_object_create.html"><strong>memory_object_create</strong></a>, | |
44 | <a href="vm_allocate.html"><strong>vm_allocate</strong></a>. |