xref: /xnu-8796.121.2/osfmk/man/MO_default_server.html (revision c54f35ca767986246321eb901baf8f5ff7923f6a)
1*c54f35caSApple OSS Distributions<h2>memory_object_default_server</h2>
2*c54f35caSApple OSS Distributions<hr>
3*c54f35caSApple OSS Distributions<p>
4*c54f35caSApple OSS Distributions<strong>Function</strong> - Handle kernel operation request targeted for the default pager.
5*c54f35caSApple OSS Distributions<h3>SYNOPSIS</h3>
6*c54f35caSApple OSS Distributions<pre>
7*c54f35caSApple OSS Distributions<strong>boolean_t	memory_object_default_server</strong>
8*c54f35caSApple OSS Distributions		<strong>(mach_msg_header_t</strong>	<var>request_msg</var>,
9*c54f35caSApple OSS Distributions		<strong>mach_msg_header_t</strong>	<var>reply_ms</var><strong>);</strong>
10*c54f35caSApple OSS Distributions</pre>
11*c54f35caSApple OSS Distributions<h3>PARAMETERS</h3>
12*c54f35caSApple OSS Distributions<dl>
13*c54f35caSApple OSS Distributions<p>
14*c54f35caSApple OSS Distributions<dt> <var>in_msg</var>
15*c54f35caSApple OSS Distributions<dd>
16*c54f35caSApple OSS Distributions[pointer to in structure]
17*c54f35caSApple OSS DistributionsThe memory manager message received from
18*c54f35caSApple OSS Distributionsthe kernel.
19*c54f35caSApple OSS Distributions<p>
20*c54f35caSApple OSS Distributions<dt> <var>out_msg</var>
21*c54f35caSApple OSS Distributions<dd>
22*c54f35caSApple OSS Distributions[out structure]
23*c54f35caSApple OSS DistributionsA reply message.  Note that no kernel messages to a
24*c54f35caSApple OSS Distributionsmemory manager expect a direct reply.
25*c54f35caSApple OSS Distributions</dl>
26*c54f35caSApple OSS Distributions<h3>DESCRIPTION</h3>
27*c54f35caSApple OSS Distributions<p>
28*c54f35caSApple OSS DistributionsThe <strong>memory_object_default_server</strong> function is the MIG generated server
29*c54f35caSApple OSS Distributionshandling function to handle messages from the kernel targeted to the default
30*c54f35caSApple OSS Distributionsmemory manager.  This server function only handles messages unique
31*c54f35caSApple OSS Distributionsto the default
32*c54f35caSApple OSS Distributionsmemory manager.  Messages that are common to all memory managers are
33*c54f35caSApple OSS Distributionshandled by <strong>memory_object_server</strong>.
34*c54f35caSApple OSS Distributions<p>
35*c54f35caSApple OSS DistributionsA \*Vmemory manager\*O
36*c54f35caSApple OSS Distributionsis a server task that responds to specific messages from the
37*c54f35caSApple OSS Distributionskernel in order to handle memory management functions for the kernel.  The
38*c54f35caSApple OSS Distributions<strong>memory_object_default_server</strong> function performs all necessary argument
39*c54f35caSApple OSS Distributionshandling for a kernel message and calls one of the default memory manager
40*c54f35caSApple OSS Distributionsfunctions.
41*c54f35caSApple OSS Distributions<h3>RETURN VALUES</h3>
42*c54f35caSApple OSS Distributions<dl>
43*c54f35caSApple OSS Distributions<p>
44*c54f35caSApple OSS Distributions<dt> <strong>TRUE</strong>
45*c54f35caSApple OSS Distributions<dd>
46*c54f35caSApple OSS DistributionsThe message was handled and the appropriate function was called.
47*c54f35caSApple OSS Distributions<p>
48*c54f35caSApple OSS Distributions<dt> <strong>FALSE</strong>
49*c54f35caSApple OSS Distributions<dd>
50*c54f35caSApple OSS DistributionsThe message did not apply to this memory management interface and
51*c54f35caSApple OSS Distributionsno other action was taken.
52*c54f35caSApple OSS Distributions</dl>
53*c54f35caSApple OSS Distributions<h3>RELATED INFORMATION</h3>
54*c54f35caSApple OSS Distributions<p>
55*c54f35caSApple OSS DistributionsFunctions:
56*c54f35caSApple OSS Distributions<a href="SMO_default_server.html"><strong>seqnos_memory_object_default_server<strong></a>,
57*c54f35caSApple OSS Distributions<a href="memory_object_server.html"><strong>memory_object_server<strong></a>,
58*c54f35caSApple OSS Distributions<a href="memory_object_create.html"><strong>memory_object_create<strong></a>,
59*c54f35caSApple OSS Distributions<a href="MO_data_initialize.html"><strong>memory_object_data_initialize<strong></a>,
60*c54f35caSApple OSS Distributions<a href="DP_object_create.html"><strong>default_pager_object_create<strong></a>,
61*c54f35caSApple OSS Distributions<a href="default_pager_info.html"><strong>default_pager_info<strong></a>.
62*c54f35caSApple OSS Distributions
63