Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_map.h
Show First 20 Lines • Show All 196 Lines • ▼ Show 20 Lines | struct vm_map { | ||||
int nentries; /* Number of entries */ | int nentries; /* Number of entries */ | ||||
vm_size_t size; /* virtual size */ | vm_size_t size; /* virtual size */ | ||||
u_int timestamp; /* Version number */ | u_int timestamp; /* Version number */ | ||||
u_char needs_wakeup; | u_char needs_wakeup; | ||||
u_char system_map; /* (c) Am I a system map? */ | u_char system_map; /* (c) Am I a system map? */ | ||||
vm_flags_t flags; /* flags for this vm_map */ | vm_flags_t flags; /* flags for this vm_map */ | ||||
vm_map_entry_t root; /* Root of a binary search tree */ | vm_map_entry_t root; /* Root of a binary search tree */ | ||||
pmap_t pmap; /* (c) Physical map */ | pmap_t pmap; /* (c) Physical map */ | ||||
vm_offset_t anon_loc; | |||||
int busy; | int busy; | ||||
}; | }; | ||||
/* | /* | ||||
* vm_flags_t values | * vm_flags_t values | ||||
*/ | */ | ||||
#define MAP_WIREFUTURE 0x01 /* wire all future pages */ | #define MAP_WIREFUTURE 0x01 /* wire all future pages */ | ||||
#define MAP_BUSY_WAKEUP 0x02 | #define MAP_BUSY_WAKEUP 0x02 | ||||
#define MAP_ASLR 0x04 /* enabled ASLR */ | |||||
#define MAP_ASLR_IGNSTART 0x08 | |||||
emaste: Let's comment this here too | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#if defined(KLD_MODULE) && !defined(KLD_TIED) | #if defined(KLD_MODULE) && !defined(KLD_TIED) | ||||
#define vm_map_max(map) vm_map_max_KBI((map)) | #define vm_map_max(map) vm_map_max_KBI((map)) | ||||
#define vm_map_min(map) vm_map_min_KBI((map)) | #define vm_map_min(map) vm_map_min_KBI((map)) | ||||
#define vm_map_pmap(map) vm_map_pmap_KBI((map)) | #define vm_map_pmap(map) vm_map_pmap_KBI((map)) | ||||
#else | #else | ||||
static __inline vm_offset_t | static __inline vm_offset_t | ||||
vm_map_max(const struct vm_map *map) | vm_map_max(const struct vm_map *map) | ||||
▲ Show 20 Lines • Show All 203 Lines • Show Last 20 Lines |
Let's comment this here too