Back to Darwin Xnu

MO Default Server

osfmk/man/MO_default_server.html

latest1.7 KB
Original Source

memory_object_default_server


Function - Handle kernel operation request targeted for the default pager.

SYNOPSIS

**boolean\_t memory\_object\_default\_server**** (mach\_msg\_header\_t **request\_msg,** mach\_msg\_header\_t **reply\_ms** );**

PARAMETERS

in_msg[pointer to in structure] The memory manager message received from the kernel.

out_msg[out structure] A reply message. Note that no kernel messages to a memory manager expect a direct reply.

DESCRIPTION

The memory_object_default_server function is the MIG generated server handling function to handle messages from the kernel targeted to the default memory manager. This server function only handles messages unique to the default memory manager. Messages that are common to all memory managers are handled by memory_object_server.

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 memory_object_default_server function performs all necessary argument handling for a kernel message and calls one of the default memory manager functions.

RETURN VALUES

TRUE The message was handled and the appropriate function was called.

FALSE The message did not apply to this memory management interface and no other action was taken.

Functions: seqnos_memory_object_default_server, memory_object_server, memory_object_create, memory_object_data_initialize, default_pager_object_create, default_pager_info.