2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
31 * Revision 1.1.1.1 1998/09/22 21:05:34 wsanchez
32 * Import of Mac OS X kernel (~semeria)
34 * Revision 1.1.1.1 1998/03/07 02:25:55 wsanchez
35 * Import of OSF Mach kernel (~mburg)
37 * Revision 1.1.4.1 1995/02/23 17:31:45 alanl
38 * DIPC: Merge from nmk17b2 to nmk18b8.
41 * Revision 1.1.10.1 1994/12/01 20:43:40 dwm
42 * mk6 CR801 - copyright marker not FREE_
43 * [1994/12/01 19:25:52 dwm]
45 * Revision 1.1.5.2 1994/09/10 21:47:18 bolinger
47 * [1994/09/08 19:58:04 bolinger]
49 * Revision 1.1.5.1 1994/06/21 19:43:06 dlb
50 * Bring forward to NMK18
51 * [1994/06/17 18:58:04 dlb]
53 * Revision 1.1.2.2 1994/07/22 09:54:09 paire
54 * Added vm_remap_remote prototype.
57 * Revision 1.1.2.1 1994/12/06 20:11:22 alanl
58 * Initial revision. Moved here from kern/norma_task.h to avoid a
59 * name collision with the mig-generated kern/norma_task.h.
65 * Mach Operating System
66 * Copyright (c) 1991 Carnegie Mellon University
67 * All Rights Reserved.
69 * Permission to use, copy, modify and distribute this software and its
70 * documentation is hereby granted, provided that both the copyright
71 * notice and this permission notice appear in all copies of the
72 * software, derivative works or modified versions, and any portions
73 * thereof, and that both notices appear in supporting documentation.
75 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
76 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
77 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
79 * Carnegie Mellon requests users of this software to return to
81 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
82 * School of Computer Science
83 * Carnegie Mellon University
84 * Pittsburgh PA 15213-3890
86 * any improvements or extensions that they make and grant Carnegie Mellon
87 * the rights to redistribute these changes.
90 #ifndef _KERN_NORMA_PROTOS_H_
91 #define _KERN_NORMA_PROTOS_H_
93 extern void task_copy_vm(
97 boolean_t kill_parent
,
100 extern kern_return_t
vm_remap_remote(
101 ipc_port_t target_task_port
,
102 vm_offset_t
*target_address
,
106 ipc_port_t source_task_port
,
107 vm_offset_t source_address
,
109 vm_prot_t
*cur_protection
,
110 vm_prot_t
*max_protection
,
111 vm_inherit_t inheritance
);
113 #endif /* _KERN_NORMA_PROTOS_H_ */