X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..04b8595b18b1b41ac7a206e4b3d51a635f8413d7:/osfmk/mach/memory_object_default.defs diff --git a/osfmk/mach/memory_object_default.defs b/osfmk/mach/memory_object_default.defs index e86a41357..d168ebffe 100644 --- a/osfmk/mach/memory_object_default.defs +++ b/osfmk/mach/memory_object_default.defs @@ -1,23 +1,29 @@ /* * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. * - * @APPLE_LICENSE_HEADER_START@ + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * - * The contents of this file constitute Original Code as defined in and - * are subject to the Apple Public Source License Version 1.1 (the - * "License"). You may not use this file except in compliance with the - * License. Please obtain a copy of the License at - * http://www.apple.com/publicsource and read it before using this file. + * This file contains Original Code and/or Modifications of Original Code + * as defined in and that are subject to the Apple Public Source License + * Version 2.0 (the 'License'). You may not use this file except in + * compliance with the License. The rights granted to you under the License + * may not be used to create, or enable the creation or redistribution of, + * unlawful or unlicensed copies of an Apple operating system, or to + * circumvent, violate, or enable the circumvention or violation of, any + * terms of an Apple operating system software license agreement. * - * This Original Code and all software distributed under the License are - * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER + * Please obtain a copy of the License at + * http://www.opensource.apple.com/apsl/ and read it before using this file. + * + * The Original Code and all software distributed under the License are + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the - * License for the specific language governing rights and limitations - * under the License. + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. + * Please see the License for the specific language governing rights and + * limitations under the License. * - * @APPLE_LICENSE_HEADER_END@ + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* * @OSF_COPYRIGHT@ @@ -60,22 +66,17 @@ subsystem #if KERNEL_USER KernelUser -#endif KERNEL_USER +#endif /* KERNEL_USER */ #if KERNEL_SERVER KernelServer -#endif KERNEL_SERVER +#endif /* KERNEL_SERVER */ memory_object_default 2250; #include #include #if KERNEL_SERVER -serverprefix dp_; -#else -#if SEQNOS -serverprefix seqnos_; -serverdemux seqnos_memory_object_default_server; -#endif /* SEQNOS */ +serverprefix default_pager_; #endif /* @@ -86,28 +87,8 @@ serverdemux seqnos_memory_object_default_server; * [No reply required.] */ routine memory_object_create( - old_memory_object : memory_object_default_t = - MACH_MSG_TYPE_MOVE_SEND; -#if SEQNOS - msgseqno seqno : mach_port_seqno_t; -#endif SEQNOS - out new_memory_object : memory_object_default_t = - MACH_MSG_TYPE_MAKE_SEND; - new_object_size : vm_size_t); - -/* - * Provide initial data contents for this region of - * the memory object. If data has already been written - * to the object, this value must be discarded; otherwise, - * this call acts identically to memory_object_data_write. - */ -simpleroutine memory_object_data_initialize( - memory_object : memory_object_default_t; -#if SEQNOS - msgseqno seqno : mach_port_seqno_t; -#endif SEQNOS - memory_control_port : memory_object_control_t = - MACH_MSG_TYPE_MAKE_SEND; - offset : memory_object_offset_t; - data : pointer_t); + default_memory_manager : memory_object_default_t; + new_memory_object_size : vm_size_t; + out new_memory_object : memory_object_t); +/* vim: set ft=c : */