]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/memory_object_server.html
xnu-344.tar.gz
[apple/xnu.git] / osfmk / man / memory_object_server.html
CommitLineData
9bccf70c 1<h2>memory_object_server</h2>\r<hr>\r<p>\r<strong>Function</strong> - Handle kernel operation request aimed at a given memory manager.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>boolean_t memory_object_server</strong>\r <strong>(mach_msg_header_t</strong> <var>request_msg</var>,\r <strong>mach_msg_header_t</strong> <var>reply_ms</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>in_msg</var> \r<dd>\r[pointer to in structure]\rThe memory manager message received from \rthe kernel.\r<p>\r<dt> <var>out_msg</var> \r<dd>\r[out structure]\rA reply message. No messages to a memory manager \rexpect a direct reply, so this field is not used.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>memory_object_server</strong> function is the MIG generated\rserver handling \rfunction to handle messages from the kernel targeted to a memory manager.\r<p>\rA \*Vmemory manager\*O \ris a server task that responds to specific messages from the \rkernel in order to handle memory management functions for the kernel. The \r<strong>memory_object_server</strong> function performs all necessary\rargument handling for \ra kernel message and calls one of the memory manager functions to interpret \rthe message.\r<h3>RETURN VALUES</h3>\r<dl>\r<p>\r<dt> <strong>TRUE</strong>\r<dd>\rThe message was handled and the appropriate function was called.\r<p>\r<dt> <strong>FALSE</strong>\r<dd>\rThe message did not apply to this memory management interface and \rno other action was taken.\r</dl>\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="MO_default_server.html"><strong>memory_object_default_server<strong></a>,\r<a href="memory_object_data_request.html"><strong>memory_object_data_request<strong></a>,\r<a href="memory_object_data_return.html"><strong>memory_object_data_return<strong></a>,\r<a href="memory_object_data_unlock.html"><strong>memory_object_data_unlock<strong></a>,\r<a href="MO_lock_completed.html"><strong>memory_object_lock_completed<strong></a>,\r<a href="MO_change_completed.html"><strong>memory_object_change_completed<strong></a>,\r<a href="MO_supply_completed.html"><strong>memory_object_supply_completed<strong></a>,\r<a href="memory_object_terminate.html"><strong>memory_object_terminate<strong></a>, \r<a href="memory_object_synchronize.html"><strong>memory_object_synchronize<strong></a>,\r<a href="SMO_server.html"><strong>seqnos_memory_object_server<strong></a>.\r