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