|
|
1.1 root 1: /*
2: * Resident memory management module functions.
3: * Copyright (C) 2008 Free Software Foundation, Inc.
4: *
5: * This program is free software; you can redistribute it and/or modify
6: * it under the terms of the GNU General Public License as published by
7: * the Free Software Foundation; either version 2, or (at your option)
8: * any later version.
9: *
10: * This program is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13: * GNU General Public License for more details.
14: *
15: * You should have received a copy of the GNU General Public License
16: * along with this program; if not, write to the Free Software
17: * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18: *
19: * Author: Barry deFreese.
20: */
21: /*
22: * Resident memory management module functions.
23: *
24: */
25:
26: #ifndef _VM_RESIDENT_H_
27: #define _VM_RESIDENT_H_
28:
29: #include <mach/std_types.h>
30:
31: /*
32: * vm_page_replace:
33: *
34: * Exactly like vm_page_insert, except that we first
35: * remove any existing page at the given offset in object
36: * and we don't do deactivate-behind.
37: *
38: * The object and page must be locked.
39: */
40: extern void vm_page_replace (
41: register vm_page_t mem,
42: register vm_object_t object,
43: register vm_offset_t offset);
44:
45: #endif /* _VM_RESIDENT_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.