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