Commit | Line | Data |
---|---|---|
175f072e | 1 | /* |
175f072e KM |
2 | * Copyright (c) 1991 Regents of the University of California. |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * The Mach Operating System project at Carnegie-Mellon University. | |
7 | * | |
0e24ad83 | 8 | * %sccs.include.redist.c% |
175f072e | 9 | * |
0f4d1c8c | 10 | * @(#)vm_kern.h 7.4 (Berkeley) %G% |
0e24ad83 KM |
11 | * |
12 | * | |
13 | * Copyright (c) 1987, 1990 Carnegie-Mellon University. | |
14 | * All rights reserved. | |
15 | * | |
16 | * Authors: Avadis Tevanian, Jr., Michael Wayne Young | |
17 | * | |
18 | * Permission to use, copy, modify and distribute this software and | |
19 | * its documentation is hereby granted, provided that both the copyright | |
20 | * notice and this permission notice appear in all copies of the | |
21 | * software, derivative works or modified versions, and any portions | |
22 | * thereof, and that both notices appear in supporting documentation. | |
23 | * | |
24 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" | |
25 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND | |
26 | * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. | |
27 | * | |
28 | * Carnegie Mellon requests users of this software to return to | |
29 | * | |
30 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU | |
31 | * School of Computer Science | |
32 | * Carnegie Mellon University | |
33 | * Pittsburgh PA 15213-3890 | |
34 | * | |
35 | * any improvements or extensions that they make and grant Carnegie the | |
36 | * rights to redistribute these changes. | |
175f072e KM |
37 | */ |
38 | ||
39 | /* | |
40 | * Kernel memory management definitions. | |
41 | */ | |
42 | ||
702fe5f3 CT |
43 | void kmem_init __P((vm_offset_t, vm_offset_t)); |
44 | vm_offset_t kmem_alloc __P((vm_map_t, vm_size_t)); | |
45 | vm_offset_t kmem_alloc_pageable __P((vm_map_t, vm_size_t)); | |
46 | void kmem_free __P((vm_map_t, vm_offset_t, vm_size_t)); | |
47 | vm_map_t kmem_suballoc __P((vm_map_t, vm_offset_t *, vm_offset_t *, | |
48 | vm_size_t, boolean_t)); | |
175f072e | 49 | |
702fe5f3 | 50 | vm_offset_t vm_move __P((vm_map_t, vm_offset_t, vm_map_t, vm_offset_t, |
0f4d1c8c | 51 | boolean_t)); |
175f072e | 52 | |
702fe5f3 CT |
53 | vm_offset_t kmem_alloc_wait __P((vm_map_t, vm_size_t)); |
54 | void kmem_free_wakeup __P((vm_map_t, vm_offset_t, vm_size_t)); | |
175f072e KM |
55 | |
56 | vm_map_t kernel_map; | |
57 | vm_map_t mb_map; | |
58 | vm_map_t kmem_map; | |
59 | vm_map_t exec_map; | |
60 | vm_map_t phys_map; | |
61 | vm_map_t buffer_map; |