mirror of
https://github.com/darlinghq/darling-xnu.git
synced 2024-11-27 06:20:34 +00:00
68 lines
2.6 KiB
HTML
68 lines
2.6 KiB
HTML
|
<h2>seqnos_memory_object_server</h2>
|
||
|
<hr>
|
||
|
<p>
|
||
|
<strong>Function</strong> - Handle kernel operation request aimed at a given memory manager.
|
||
|
<h3>SYNOPSIS</h3>
|
||
|
<pre>
|
||
|
<strong>boolean_t seqnos_memory_object_server</strong>
|
||
|
<strong>(mach_msg_header_t</strong> <var>request_msg</var>,
|
||
|
<strong>mach_msg_header_t</strong> <var>reply_ms</var><strong>);</strong>
|
||
|
</pre>
|
||
|
<h3>PARAMETERS</h3>
|
||
|
<dl>
|
||
|
<p>
|
||
|
<dt> <var>in_msg</var>
|
||
|
<dd>
|
||
|
[pointer to in structure]
|
||
|
The memory manager message received from
|
||
|
the kernel.
|
||
|
<p>
|
||
|
<dt> <var>out_msg</var>
|
||
|
<dd>
|
||
|
[out structure]
|
||
|
A reply message. No messages to a memory manager
|
||
|
expect a direct reply, so this field is not used.
|
||
|
</dl>
|
||
|
<h3>DESCRIPTION</h3>
|
||
|
<p>
|
||
|
The <strong>seqnos_memory_object_server</strong> function is the MIG generated server
|
||
|
handling function to handle messages from the kernel targeted to a memory
|
||
|
manager.
|
||
|
<p>
|
||
|
A \*Vmemory manager\*O
|
||
|
is a server task that responds to specific messages from the
|
||
|
kernel in order to handle memory management functions for the kernel. The
|
||
|
<strong>seqnos_memory_object_server</strong> function performs all necessary argument
|
||
|
handling for a kernel message and calls one of the memory manager functions to
|
||
|
interpret the message.
|
||
|
<h3>NOTES</h3>
|
||
|
<p>
|
||
|
<strong>seqnos_memory_object_server</strong> differs from <strong>memory_object_server</strong>
|
||
|
in that it
|
||
|
supplies message sequence numbers to the server interfaces.
|
||
|
<h3>RETURN VALUES</h3>
|
||
|
<dl>
|
||
|
<p>
|
||
|
<dt> <strong>TRUE</strong>
|
||
|
<dd>
|
||
|
The message was handled and the appropriate function was called.
|
||
|
<p>
|
||
|
<dt> <strong>FALSE</strong>
|
||
|
<dd>
|
||
|
The message did not apply to this memory management interface and
|
||
|
no other action was taken.
|
||
|
</dl>
|
||
|
<h3>RELATED INFORMATION</h3>
|
||
|
<p>
|
||
|
Functions:
|
||
|
<a href="SMO_default_server.html"><strong>seqnos_memory_object_default_server<strong></a>,
|
||
|
<a href="memory_object_data_request.html"><strong>seqnos_memory_object_data_request<strong></a>,
|
||
|
<a href="memory_object_data_unlock.html"><strong>seqnos_memory_object_data_unlock<strong></a>,
|
||
|
<a href="memory_object_data_return.html"><strong>seqnos_memory_object_data_return<strong></a>,
|
||
|
<a href="MO_supply_completed.html"><strong>seqnos_memory_object_supply_completed<strong></a>,
|
||
|
<a href="MO_lock_completed.html"><strong>seqnos_memory_object_lock_completed<strong></a>,
|
||
|
<a href="MO_change_completed.html"><strong>seqnos_seqnos_memory_object_change_completed<strong></a>,
|
||
|
<a href="memory_object_terminate.html"><strong>seqnos_memory_object_terminate<strong></a>,
|
||
|
<a href="memory_object_synchronize.html"><strong>seqnos_memory_object_synchronize<strong></a>,
|
||
|
<a href="memory_object_server.html"><strong>memory_object_server<strong></a>.
|