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