]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. | |
7 | * | |
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 | |
13 | * file. | |
14 | * | |
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. | |
22 | * | |
23 | * @APPLE_LICENSE_HEADER_END@ | |
24 | */ | |
25 | /* | |
26 | * @OSF_COPYRIGHT@ | |
27 | */ | |
28 | /* | |
29 | * HISTORY | |
30 | * | |
31 | * Revision 1.1.1.1 1998/09/22 21:05:34 wsanchez | |
32 | * Import of Mac OS X kernel (~semeria) | |
33 | * | |
34 | * Revision 1.1.1.1 1998/03/07 02:25:55 wsanchez | |
35 | * Import of OSF Mach kernel (~mburg) | |
36 | * | |
37 | * Revision 1.1.4.1 1995/02/23 17:31:45 alanl | |
38 | * DIPC: Merge from nmk17b2 to nmk18b8. | |
39 | * [95/01/05 alanl] | |
40 | * | |
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] | |
44 | * | |
45 | * Revision 1.1.5.2 1994/09/10 21:47:18 bolinger | |
46 | * Merge up to NMK17.3 | |
47 | * [1994/09/08 19:58:04 bolinger] | |
48 | * | |
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] | |
52 | * | |
53 | * Revision 1.1.2.2 1994/07/22 09:54:09 paire | |
54 | * Added vm_remap_remote prototype. | |
55 | * [94/07/05 paire] | |
56 | * | |
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. | |
60 | * [94/12/05 mmp] | |
61 | * | |
62 | * $EndLog$ | |
63 | */ | |
64 | /* | |
65 | * Mach Operating System | |
66 | * Copyright (c) 1991 Carnegie Mellon University | |
67 | * All Rights Reserved. | |
68 | * | |
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. | |
74 | * | |
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. | |
78 | * | |
79 | * Carnegie Mellon requests users of this software to return to | |
80 | * | |
81 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU | |
82 | * School of Computer Science | |
83 | * Carnegie Mellon University | |
84 | * Pittsburgh PA 15213-3890 | |
85 | * | |
86 | * any improvements or extensions that they make and grant Carnegie Mellon | |
87 | * the rights to redistribute these changes. | |
88 | */ | |
89 | ||
90 | #ifndef _KERN_NORMA_PROTOS_H_ | |
91 | #define _KERN_NORMA_PROTOS_H_ | |
92 | ||
93 | extern void task_copy_vm( | |
94 | ipc_port_t host, | |
95 | vm_map_t old_map, | |
96 | boolean_t clone, | |
97 | boolean_t kill_parent, | |
98 | ipc_port_t to); | |
99 | ||
100 | extern kern_return_t vm_remap_remote( | |
101 | ipc_port_t target_task_port, | |
102 | vm_offset_t *target_address, | |
103 | vm_size_t size, | |
104 | vm_offset_t mask, | |
105 | boolean_t anywhere, | |
106 | ipc_port_t source_task_port, | |
107 | vm_offset_t source_address, | |
108 | boolean_t copy, | |
109 | vm_prot_t *cur_protection, | |
110 | vm_prot_t *max_protection, | |
111 | vm_inherit_t inheritance); | |
112 | ||
113 | #endif /* _KERN_NORMA_PROTOS_H_ */ |