FreeBSD/Linux Kernel Cross Reference
sys/vm/vm_pageout.h
1 /*
2 * Mach Operating System
3 * Copyright (c) 1993,1991,1990,1989,1988,1987 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: vm_pageout.h,v $
29 * Revision 2.5 93/11/17 18:57:26 dbg
30 * Added ANSI function prototypes.
31 * [93/06/16 dbg]
32 *
33 * Revision 2.4 91/05/14 17:51:11 mrt
34 * Correcting copyright
35 *
36 * Revision 2.3 91/02/05 18:00:18 mrt
37 * Changed to new Mach copyright
38 * [91/02/01 16:34:35 mrt]
39 *
40 * Revision 2.2 90/06/02 15:12:02 rpd
41 * Added declaration of vm_pageout_setup.
42 * [90/05/31 rpd]
43 *
44 * Changes for MACH_KERNEL:
45 * . Remove non-XP declarations.
46 * [89/04/28 dbg]
47 *
48 * Revision 2.1 89/08/03 16:45:59 rwd
49 * Created.
50 *
51 * Revision 2.9 89/04/18 21:28:02 mwyoung
52 * No relevant history.
53 *
54 */
55 /*
56 * File: vm/vm_pageout.h
57 * Author: Avadis Tevanian, Jr.
58 * Date: 1986
59 *
60 * Declarations for the pageout daemon interface.
61 */
62
63 #ifndef _VM_VM_PAGEOUT_H_
64 #define _VM_VM_PAGEOUT_H_
65
66 #include <mach/boolean.h>
67 #include <mach/machine/vm_types.h>
68
69 #include <vm/vm_object.h>
70 #include <vm/vm_page.h>
71
72 /*
73 * Exported routines.
74 */
75
76 extern vm_page_t vm_pageout_setup(
77 vm_page_t m,
78 vm_offset_t paging_offset,
79 vm_object_t new_object,
80 vm_offset_t new_offset,
81 boolean_t flush);
82
83 extern void vm_pageout_page(
84 vm_page_t m,
85 boolean_t initial,
86 boolean_t flush);
87
88 #endif /* _VM_VM_PAGEOUT_H_ */
Cache object: 2bad588926ff70b1862dbcbf82280a4f
|