]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/MO_default_server.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / MO_default_server.html
1 <h2>memory_object_default_server</h2>
2 <hr>
3 <p>
4 <strong>Function</strong> - Handle kernel operation request targeted for the default pager.
5 <h3>SYNOPSIS</h3>
6 <pre>
7 <strong>boolean_t memory_object_default_server</strong>
8 <strong>(mach_msg_header_t</strong> <var>request_msg</var>,
9 <strong>mach_msg_header_t</strong> <var>reply_ms</var><strong>);</strong>
10 </pre>
11 <h3>PARAMETERS</h3>
12 <dl>
13 <p>
14 <dt> <var>in_msg</var>
15 <dd>
16 [pointer to in structure]
17 The memory manager message received from
18 the kernel.
19 <p>
20 <dt> <var>out_msg</var>
21 <dd>
22 [out structure]
23 A reply message. Note that no kernel messages to a
24 memory manager expect a direct reply.
25 </dl>
26 <h3>DESCRIPTION</h3>
27 <p>
28 The <strong>memory_object_default_server</strong> function is the MIG generated server
29 handling function to handle messages from the kernel targeted to the default
30 memory manager. This server function only handles messages unique
31 to the default
32 memory manager. Messages that are common to all memory managers are
33 handled by <strong>memory_object_server</strong>.
34 <p>
35 A \*Vmemory manager\*O
36 is a server task that responds to specific messages from the
37 kernel in order to handle memory management functions for the kernel. The
38 <strong>memory_object_default_server</strong> function performs all necessary argument
39 handling for a kernel message and calls one of the default memory manager
40 functions.
41 <h3>RETURN VALUES</h3>
42 <dl>
43 <p>
44 <dt> <strong>TRUE</strong>
45 <dd>
46 The message was handled and the appropriate function was called.
47 <p>
48 <dt> <strong>FALSE</strong>
49 <dd>
50 The message did not apply to this memory management interface and
51 no other action was taken.
52 </dl>
53 <h3>RELATED INFORMATION</h3>
54 <p>
55 Functions:
56 <a href="SMO_default_server.html"><strong>seqnos_memory_object_default_server<strong></a>,
57 <a href="memory_object_server.html"><strong>memory_object_server<strong></a>,
58 <a href="memory_object_create.html"><strong>memory_object_create<strong></a>,
59 <a href="MO_data_initialize.html"><strong>memory_object_data_initialize<strong></a>,
60 <a href="DP_object_create.html"><strong>default_pager_object_create<strong></a>,
61 <a href="default_pager_info.html"><strong>default_pager_info<strong></a>.
62