Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_map.h
Show First 20 Lines • Show All 289 Lines • ▼ Show 20 Lines | struct vmspace { | ||||
segsz_t vm_swrss; /* resident set size before last swap */ | segsz_t vm_swrss; /* resident set size before last swap */ | ||||
segsz_t vm_tsize; /* text size (pages) XXX */ | segsz_t vm_tsize; /* text size (pages) XXX */ | ||||
segsz_t vm_dsize; /* data size (pages) XXX */ | segsz_t vm_dsize; /* data size (pages) XXX */ | ||||
segsz_t vm_ssize; /* stack size (pages) */ | segsz_t vm_ssize; /* stack size (pages) */ | ||||
caddr_t vm_taddr; /* (c) user virtual address of text */ | caddr_t vm_taddr; /* (c) user virtual address of text */ | ||||
caddr_t vm_daddr; /* (c) user virtual address of data */ | caddr_t vm_daddr; /* (c) user virtual address of data */ | ||||
caddr_t vm_maxsaddr; /* user VA at max stack growth */ | caddr_t vm_maxsaddr; /* user VA at max stack growth */ | ||||
vm_offset_t vm_stacktop; /* top of the stack, may not be page-aligned */ | vm_offset_t vm_stacktop; /* top of the stack, may not be page-aligned */ | ||||
vm_offset_t vm_shp_base; /* shared page address */ | |||||
kib: 'sp' sounds to much as a 'stack pointer' to me. I used 'shp' elsewere. | |||||
u_int vm_refcnt; /* number of references */ | u_int vm_refcnt; /* number of references */ | ||||
/* | /* | ||||
* Keep the PMAP last, so that CPU-specific variations of that | * Keep the PMAP last, so that CPU-specific variations of that | ||||
* structure on a single architecture don't result in offset | * structure on a single architecture don't result in offset | ||||
* variations of the machine-independent fields in the vmspace. | * variations of the machine-independent fields in the vmspace. | ||||
*/ | */ | ||||
struct pmap vm_pmap; /* private physical map */ | struct pmap vm_pmap; /* private physical map */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |
'sp' sounds to much as a 'stack pointer' to me. I used 'shp' elsewere.