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