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