]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/vm_shared_memory_server.h
xnu-792.12.6.tar.gz
[apple/xnu.git] / osfmk / vm / vm_shared_memory_server.h
index fcf2622be30b4c194074281d8f3fa9d3cac4f18b..0194b409e30147fd245f784817e75a80273c9e0b 100644 (file)
@@ -1,24 +1,31 @@
 /*
  * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
  *
- * @APPLE_LICENSE_HEADER_START@
+ * @APPLE_LICENSE_OSREFERENCE_HEADER_START@
  * 
- * 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. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
+ * 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.
+ *
+ * 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, QUIET ENJOYMENT OR NON-INFRINGEMENT.
- * Please see the License for the specific language governing rights and
+ *
+ * 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, 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_LICENSE_OSREFERENCE_HEADER_END@
  */
 /*
  *
@@ -174,16 +181,6 @@ struct shared_region_mapping ;
 #define load_file_hash(file_object, size) \
                ((((natural_t)file_object) & 0xffffff) % size)
 
-extern kern_return_t copyin_shared_file(
-                               vm_offset_t             mapped_file,
-                               vm_size_t               mapped_file_size,
-                               vm_offset_t             *base_address,
-                               int                     map_cnt,
-                               sf_mapping_t            *mappings,
-                               memory_object_control_t         file_control,
-                               shared_region_task_mappings_t   shared_region,
-                               int                     *flags);
-
 extern kern_return_t map_shared_file(
        int                             map_cnt,
        struct shared_file_mapping_np   *mappings,
@@ -280,10 +277,6 @@ extern struct load_struct *lsf_remove_regions_mappings(
        shared_region_mapping_t region,
        shared_region_task_mappings_t   sm_info);
 
-extern kern_return_t shared_region_mapping_set_alt_next(
-               shared_region_mapping_t shared_region,
-               vm_offset_t             alt_next);
-
 extern void mach_memory_entry_port_release(ipc_port_t port);
 extern void mach_destroy_memory_entry(ipc_port_t port);