vm_map.h (219124) | vm_map.h (219819) |
---|---|
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 219124 2011-03-01 11:04:30Z brucec $ | 60 * $FreeBSD: head/sys/vm/vm_map.h 219819 2011-03-21 09:40:01Z jeff $ |
61 */ 62 63/* 64 * Virtual memory map module definitions. 65 */ 66#ifndef _VM_MAP_ 67#define _VM_MAP_ 68 --- 272 unchanged lines hidden (view full) --- 341 * vm_map_wire and vm_map_unwire option flags 342 */ 343#define VM_MAP_WIRE_SYSTEM 0 /* wiring in a kernel map */ 344#define VM_MAP_WIRE_USER 1 /* wiring in a user map */ 345 346#define VM_MAP_WIRE_NOHOLES 0 /* region must not have holes */ 347#define VM_MAP_WIRE_HOLESOK 2 /* region may have holes */ 348 | 61 */ 62 63/* 64 * Virtual memory map module definitions. 65 */ 66#ifndef _VM_MAP_ 67#define _VM_MAP_ 68 --- 272 unchanged lines hidden (view full) --- 341 * vm_map_wire and vm_map_unwire option flags 342 */ 343#define VM_MAP_WIRE_SYSTEM 0 /* wiring in a kernel map */ 344#define VM_MAP_WIRE_USER 1 /* wiring in a user map */ 345 346#define VM_MAP_WIRE_NOHOLES 0 /* region must not have holes */ 347#define VM_MAP_WIRE_HOLESOK 2 /* region may have holes */ 348 |
349#define VM_MAP_WIRE_WRITE 4 /* Validate writable. */ 350 |
|
349#ifdef _KERNEL 350boolean_t vm_map_check_protection (vm_map_t, vm_offset_t, vm_offset_t, vm_prot_t); 351vm_map_t vm_map_create(pmap_t, vm_offset_t, vm_offset_t); 352int vm_map_delete(vm_map_t, vm_offset_t, vm_offset_t); 353int vm_map_find(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t *, vm_size_t, 354 int, vm_prot_t, vm_prot_t, int); 355int vm_map_fixed(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t, vm_size_t, 356 vm_prot_t, vm_prot_t, int); --- 29 unchanged lines hidden --- | 351#ifdef _KERNEL 352boolean_t vm_map_check_protection (vm_map_t, vm_offset_t, vm_offset_t, vm_prot_t); 353vm_map_t vm_map_create(pmap_t, vm_offset_t, vm_offset_t); 354int vm_map_delete(vm_map_t, vm_offset_t, vm_offset_t); 355int vm_map_find(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t *, vm_size_t, 356 int, vm_prot_t, vm_prot_t, int); 357int vm_map_fixed(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t, vm_size_t, 358 vm_prot_t, vm_prot_t, int); --- 29 unchanged lines hidden --- |