]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/SMO_server.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / SMO_server.html
1 <h2>seqnos_memory_object_server</h2>
2 <hr>
3 <p>
4 <strong>Function</strong> - Handle kernel operation request aimed at a given memory manager.
5 <h3>SYNOPSIS</h3>
6 <pre>
7 <strong>boolean_t seqnos_memory_object_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. No messages to a memory manager
24 expect a direct reply, so this field is not used.
25 </dl>
26 <h3>DESCRIPTION</h3>
27 <p>
28 The <strong>seqnos_memory_object_server</strong> function is the MIG generated server
29 handling function to handle messages from the kernel targeted to a memory
30 manager.
31 <p>
32 A \*Vmemory manager\*O
33 is a server task that responds to specific messages from the
34 kernel in order to handle memory management functions for the kernel. The
35 <strong>seqnos_memory_object_server</strong> function performs all necessary argument
36 handling for a kernel message and calls one of the memory manager functions to
37 interpret the message.
38 <h3>NOTES</h3>
39 <p>
40 <strong>seqnos_memory_object_server</strong> differs from <strong>memory_object_server</strong>
41 in that it
42 supplies message sequence numbers to the server interfaces.
43 <h3>RETURN VALUES</h3>
44 <dl>
45 <p>
46 <dt> <strong>TRUE</strong>
47 <dd>
48 The message was handled and the appropriate function was called.
49 <p>
50 <dt> <strong>FALSE</strong>
51 <dd>
52 The message did not apply to this memory management interface and
53 no other action was taken.
54 </dl>
55 <h3>RELATED INFORMATION</h3>
56 <p>
57 Functions:
58 <a href="SMO_default_server.html"><strong>seqnos_memory_object_default_server<strong></a>,
59 <a href="memory_object_data_request.html"><strong>seqnos_memory_object_data_request<strong></a>,
60 <a href="memory_object_data_unlock.html"><strong>seqnos_memory_object_data_unlock<strong></a>,
61 <a href="memory_object_data_return.html"><strong>seqnos_memory_object_data_return<strong></a>,
62 <a href="MO_supply_completed.html"><strong>seqnos_memory_object_supply_completed<strong></a>,
63 <a href="MO_lock_completed.html"><strong>seqnos_memory_object_lock_completed<strong></a>,
64 <a href="MO_change_completed.html"><strong>seqnos_seqnos_memory_object_change_completed<strong></a>,
65 <a href="memory_object_terminate.html"><strong>seqnos_memory_object_terminate<strong></a>,
66 <a href="memory_object_synchronize.html"><strong>seqnos_memory_object_synchronize<strong></a>,
67 <a href="memory_object_server.html"><strong>memory_object_server<strong></a>.