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