vm.h (195649) | vm.h (195840) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 41 unchanged lines hidden (view full) --- 50 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 51 * School of Computer Science 52 * Carnegie Mellon University 53 * Pittsburgh PA 15213-3890 54 * 55 * any improvements or extensions that they make and grant Carnegie the 56 * rights to redistribute these changes. 57 * | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 41 unchanged lines hidden (view full) --- 50 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 51 * School of Computer Science 52 * Carnegie Mellon University 53 * Pittsburgh PA 15213-3890 54 * 55 * any improvements or extensions that they make and grant Carnegie the 56 * rights to redistribute these changes. 57 * |
58 * $FreeBSD: head/sys/vm/vm.h 195649 2009-07-12 23:31:20Z alc $ | 58 * $FreeBSD: head/sys/vm/vm.h 195840 2009-07-24 13:50:29Z jhb $ |
59 */ 60 61#ifndef VM_H 62#define VM_H 63 64#include <machine/vm.h> 65 66/* --- 17 unchanged lines hidden (view full) --- 84#define VM_PROT_EXECUTE ((vm_prot_t) 0x04) 85#define VM_PROT_OVERRIDE_WRITE ((vm_prot_t) 0x08) /* copy-on-write */ 86 87#define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE) 88#define VM_PROT_RW (VM_PROT_READ|VM_PROT_WRITE) 89#define VM_PROT_DEFAULT VM_PROT_ALL 90 91enum obj_type { OBJT_DEFAULT, OBJT_SWAP, OBJT_VNODE, OBJT_DEVICE, OBJT_PHYS, | 59 */ 60 61#ifndef VM_H 62#define VM_H 63 64#include <machine/vm.h> 65 66/* --- 17 unchanged lines hidden (view full) --- 84#define VM_PROT_EXECUTE ((vm_prot_t) 0x04) 85#define VM_PROT_OVERRIDE_WRITE ((vm_prot_t) 0x08) /* copy-on-write */ 86 87#define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE) 88#define VM_PROT_RW (VM_PROT_READ|VM_PROT_WRITE) 89#define VM_PROT_DEFAULT VM_PROT_ALL 90 91enum obj_type { OBJT_DEFAULT, OBJT_SWAP, OBJT_VNODE, OBJT_DEVICE, OBJT_PHYS, |
92 OBJT_DEAD }; | 92 OBJT_DEAD, OBJT_SG }; |
93typedef u_char objtype_t; 94 95union vm_map_object; 96typedef union vm_map_object vm_map_object_t; 97 98struct vm_map_entry; 99typedef struct vm_map_entry *vm_map_entry_t; 100 --- 52 unchanged lines hidden --- | 93typedef u_char objtype_t; 94 95union vm_map_object; 96typedef union vm_map_object vm_map_object_t; 97 98struct vm_map_entry; 99typedef struct vm_map_entry *vm_map_entry_t; 100 --- 52 unchanged lines hidden --- |