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