vm_map.h (253953) | vm_map.h (254025) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. 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 * 8 * Redistribution and use in source and binary forms, with or without --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. 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 * 8 * Redistribution and use in source and binary forms, with or without --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * |
60 * $FreeBSD: head/sys/vm/vm_map.h 253953 2013-08-05 08:55:35Z attilio $ | 60 * $FreeBSD: head/sys/vm/vm_map.h 254025 2013-08-07 06:21:20Z jeff $ |
61 */ 62 63/* 64 * Virtual memory map module definitions. 65 */ 66#ifndef _VM_MAP_ 67#define _VM_MAP_ 68 --- 271 unchanged lines hidden (view full) --- 340 341/* 342 * The following "find_space" options are supported by vm_map_find() 343 */ 344#define VMFS_NO_SPACE 0 /* don't find; use the given range */ 345#define VMFS_ANY_SPACE 1 /* find a range with any alignment */ 346#define VMFS_OPTIMAL_SPACE 2 /* find a range with optimal alignment*/ 347#define VMFS_ALIGNED_SPACE 3 /* find a superpage-aligned range */ | 61 */ 62 63/* 64 * Virtual memory map module definitions. 65 */ 66#ifndef _VM_MAP_ 67#define _VM_MAP_ 68 --- 271 unchanged lines hidden (view full) --- 340 341/* 342 * The following "find_space" options are supported by vm_map_find() 343 */ 344#define VMFS_NO_SPACE 0 /* don't find; use the given range */ 345#define VMFS_ANY_SPACE 1 /* find a range with any alignment */ 346#define VMFS_OPTIMAL_SPACE 2 /* find a range with optimal alignment*/ 347#define VMFS_ALIGNED_SPACE 3 /* find a superpage-aligned range */ |
348#if defined(__mips__) 349#define VMFS_TLB_ALIGNED_SPACE 4 /* find a TLB entry aligned range */ 350#endif | |
351 352/* 353 * vm_map_wire and vm_map_unwire option flags 354 */ 355#define VM_MAP_WIRE_SYSTEM 0 /* wiring in a kernel map */ 356#define VM_MAP_WIRE_USER 1 /* wiring in a user map */ 357 358#define VM_MAP_WIRE_NOHOLES 0 /* region must not have holes */ --- 23 unchanged lines hidden (view full) --- 382 vm_object_t object, vm_pindex_t pindex, vm_size_t size, int flags); 383int vm_map_protect (vm_map_t, vm_offset_t, vm_offset_t, vm_prot_t, boolean_t); 384int vm_map_remove (vm_map_t, vm_offset_t, vm_offset_t); 385void vm_map_startup (void); 386int vm_map_submap (vm_map_t, vm_offset_t, vm_offset_t, vm_map_t); 387int vm_map_sync(vm_map_t, vm_offset_t, vm_offset_t, boolean_t, boolean_t); 388int vm_map_madvise (vm_map_t, vm_offset_t, vm_offset_t, int); 389void vm_map_simplify_entry (vm_map_t, vm_map_entry_t); | 348 349/* 350 * vm_map_wire and vm_map_unwire option flags 351 */ 352#define VM_MAP_WIRE_SYSTEM 0 /* wiring in a kernel map */ 353#define VM_MAP_WIRE_USER 1 /* wiring in a user map */ 354 355#define VM_MAP_WIRE_NOHOLES 0 /* region must not have holes */ --- 23 unchanged lines hidden (view full) --- 379 vm_object_t object, vm_pindex_t pindex, vm_size_t size, int flags); 380int vm_map_protect (vm_map_t, vm_offset_t, vm_offset_t, vm_prot_t, boolean_t); 381int vm_map_remove (vm_map_t, vm_offset_t, vm_offset_t); 382void vm_map_startup (void); 383int vm_map_submap (vm_map_t, vm_offset_t, vm_offset_t, vm_map_t); 384int vm_map_sync(vm_map_t, vm_offset_t, vm_offset_t, boolean_t, boolean_t); 385int vm_map_madvise (vm_map_t, vm_offset_t, vm_offset_t, int); 386void vm_map_simplify_entry (vm_map_t, vm_map_entry_t); |
390void vm_init2 (void); | |
391int vm_map_stack (vm_map_t, vm_offset_t, vm_size_t, vm_prot_t, vm_prot_t, int); 392int vm_map_growstack (struct proc *p, vm_offset_t addr); 393int vm_map_unwire(vm_map_t map, vm_offset_t start, vm_offset_t end, 394 int flags); 395int vm_map_wire(vm_map_t map, vm_offset_t start, vm_offset_t end, 396 int flags); 397long vmspace_swap_count(struct vmspace *vmspace); 398#endif /* _KERNEL */ 399#endif /* _VM_MAP_ */ | 387int vm_map_stack (vm_map_t, vm_offset_t, vm_size_t, vm_prot_t, vm_prot_t, int); 388int vm_map_growstack (struct proc *p, vm_offset_t addr); 389int vm_map_unwire(vm_map_t map, vm_offset_t start, vm_offset_t end, 390 int flags); 391int vm_map_wire(vm_map_t map, vm_offset_t start, vm_offset_t end, 392 int flags); 393long vmspace_swap_count(struct vmspace *vmspace); 394#endif /* _KERNEL */ 395#endif /* _VM_MAP_ */ |