X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/MO_data_initialize.html diff --git a/osfmk/man/MO_data_initialize.html b/osfmk/man/MO_data_initialize.html index e391ae77f..d92bf9cf2 100755 --- a/osfmk/man/MO_data_initialize.html +++ b/osfmk/man/MO_data_initialize.html @@ -1 +1,79 @@ -

memory_object_data_initialize


Server Interface - Request that the default pager record initialization information for specified memory object.

SYNOPSIS

kern_return_t   memory_object_data_initialize
                (memory_object_t                  memory_object,
                 memory_object_control_t         memory_control,
                 vm_offset_t                             offset,
                 pointer_t                                 data);


kern_return_t   seqnos_memory_object_data_initialize
                (memory_object_t                  memory_object,
                 mach_port_seqno_t                        seqno,
                 memory_object_control_t         memory_control,
                 vm_offset_t                             offset,
                 pointer_t                                 data);

PARAMETERS

memory_object
[in abstract-memory-object (receive) right] The abstract memory object port that represents the memory object data, as supplied by the kernel in a memory_object_create call.

seqno
[in scalar] The sequence number of this message relative to the abstract memory object port.

memory_control
[in memory-cache-control send right] The memory cache control port to be used for a response by the memory manager. If the memory object has been supplied to more than one kernel, this parameter identifies the kernel that is making the call.

offset
[in scalar] The offset within the memory object.

data
[in pointer to dynamic array of bytes] The data that has been modified while cached in physical memory.

DESCRIPTION

A memory_object_data_initialize function is called as the result of a kernel message providing the default memory manager with initial data for a kernel-created memory object. If the memory manager already has supplied data (by a previous memory_object_data_initialize or memory_object_data_return), it should ignore this call. Otherwise, the call behaves the same as the memory_object_data_return call.

The kernel makes this call only to the default memory manager and only on temporary memory objects that it has created with memory_object_create.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: memory_object_create, memory_object_data_return, memory_object_default_server, seqnos_memory_object_default_server. \ No newline at end of file +

memory_object_data_initialize

+
+

+Server Interface - Request that the default pager record initialization information for specified memory object. +

SYNOPSIS

+
+kern_return_t   memory_object_data_initialize
+                (memory_object_t                  memory_object,
+                 memory_object_control_t         memory_control,
+                 vm_offset_t                             offset,
+                 pointer_t                                 data);
+
+
+kern_return_t   seqnos_memory_object_data_initialize
+                (memory_object_t                  memory_object,
+                 mach_port_seqno_t                        seqno,
+                 memory_object_control_t         memory_control,
+                 vm_offset_t                             offset,
+                 pointer_t                                 data);
+
+

PARAMETERS

+
+

+

memory_object +
+[in abstract-memory-object (receive) right] +The abstract memory +object port that represents the memory object data, as supplied by the +kernel in a memory_object_create call. +

+

seqno +
+[in scalar] +The sequence number of this message relative to the abstract +memory object port. +

+

memory_control +
+[in memory-cache-control send right] +The memory cache control port +to be used for a response by the memory manager. If the memory +object has been supplied to more than one kernel, this parameter +identifies the kernel that is making the call. +

+

offset +
+[in scalar] +The offset within the memory object. +

+

data +
+[in pointer to dynamic array of bytes] +The data that has been modified +while cached in physical memory. +
+

DESCRIPTION

+

+A memory_object_data_initialize function is called +as the result of a kernel +message providing the default memory manager with initial data for a +kernel-created memory object. If the memory manager already +has supplied data (by a previous memory_object_data_initialize or +memory_object_data_return), it +should ignore this call. Otherwise, the call behaves the same as the +memory_object_data_return call. +

+The kernel makes this call only to the default memory manager and only on +temporary memory objects that it has created with +memory_object_create. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +memory_object_create, +memory_object_data_return, +memory_object_default_server, +seqnos_memory_object_default_server.