Server Interface - Initialize a non-persistent memory object suitable for sharing between tasks.
kern_return_t default_pager_object_create (mach_port_t pager, memory_object_t *memory_object, vm_size_t object_size); kern_return_t seqnos_default_pager_object_create (mach_port_t pager, mach_port_seqno_t seqno, memory_object_t *memory_object, vm_size_t object_size);
A default_pager_object_create function is called as the result of a message requesting that the default memory manager create and return a (shared) memory object which is suitable for use with vm_map. This memory object has the same properties as does a memory object provided by vm_allocate: its initial contents are zero and the backing contents are temporary in that they do not persist after the memory object is destroyed. The memory object is suitable for use as non-permanent shared memory. The kernel does not make this call itself (which is why it can be a synchronous call); this request is only issued by (privileged) tasks holding the default memory manager port. This call should be contrasted with the kernel's memory_object_create message, in which the memory cache object is already created and the identity of the abstract memory object is made known to the default manager.
Only generic errors apply.
Functions: vm_map, host_default_memory_manager, memory_object_create, memory_object_default_server, seqnos_memory_object_default_server.