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