Back to Darwin Xnu

SMO Server

osfmk/man/SMO_server.html

latest2.1 KB
Original Source

seqnos_memory_object_server


Function - Handle kernel operation request aimed at a given memory manager.

SYNOPSIS

**boolean\_t seqnos\_memory\_object\_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. No messages to a memory manager expect a direct reply, so this field is not used.

DESCRIPTION

The seqnos_memory_object_server function is the MIG generated server handling function to handle messages from the kernel targeted to a memory manager.

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

NOTES

seqnos_memory_object_server differs from memory_object_server in that it supplies message sequence numbers to the server interfaces.

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, seqnos_memory_object_data_request, seqnos_memory_object_data_unlock, seqnos_memory_object_data_return, seqnos_memory_object_supply_completed, seqnos_memory_object_lock_completed, seqnos_seqnos_memory_object_change_completed, seqnos_memory_object_terminate, seqnos_memory_object_synchronize, memory_object_server.