vm.h (0c21a60cf61c61c3a136a803b9c7645c128c6982) vm.h (b7ac5a85714c218faaf9e0803f0ba03015647cc1)
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

--- 69 unchanged lines hidden (view full) ---

78#define VM_PROT_EXECUTE ((vm_prot_t) 0x04)
79#define VM_PROT_COPY ((vm_prot_t) 0x08) /* copy-on-read */
80
81#define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)
82#define VM_PROT_RW (VM_PROT_READ|VM_PROT_WRITE)
83#define VM_PROT_DEFAULT VM_PROT_ALL
84
85enum obj_type { OBJT_DEFAULT, OBJT_SWAP, OBJT_VNODE, OBJT_DEVICE, OBJT_PHYS,
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

--- 69 unchanged lines hidden (view full) ---

78#define VM_PROT_EXECUTE ((vm_prot_t) 0x04)
79#define VM_PROT_COPY ((vm_prot_t) 0x08) /* copy-on-read */
80
81#define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)
82#define VM_PROT_RW (VM_PROT_READ|VM_PROT_WRITE)
83#define VM_PROT_DEFAULT VM_PROT_ALL
84
85enum obj_type { OBJT_DEFAULT, OBJT_SWAP, OBJT_VNODE, OBJT_DEVICE, OBJT_PHYS,
86 OBJT_DEAD, OBJT_SG };
86 OBJT_DEAD, OBJT_SG, OBJT_MGTDEVICE };
87typedef u_char objtype_t;
88
89union vm_map_object;
90typedef union vm_map_object vm_map_object_t;
91
92struct vm_map_entry;
93typedef struct vm_map_entry *vm_map_entry_t;
94

--- 58 unchanged lines hidden ---
87typedef u_char objtype_t;
88
89union vm_map_object;
90typedef union vm_map_object vm_map_object_t;
91
92struct vm_map_entry;
93typedef struct vm_map_entry *vm_map_entry_t;
94

--- 58 unchanged lines hidden ---