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