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