Made vmspace0 non-static. Its useful to be able to identify a vmspace as

the kernel vmspace.
This commit is contained in:
Jake Burkholder 2003-04-13 21:29:11 +00:00
parent e2479b4fc3
commit 2373499592
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113450
2 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@ struct ksegrp ksegrp0;
static struct procsig procsig0;
static struct filedesc0 filedesc0;
static struct plimit limit0;
static struct vmspace vmspace0;
struct vmspace vmspace0;
struct proc *initproc;
int cmask = CMASK;

View File

@ -830,6 +830,7 @@ extern struct proc proc0; /* Process slot for swapper. */
extern struct thread thread0; /* Primary thread in proc0 */
extern struct ksegrp ksegrp0; /* Primary ksegrp in proc0 */
extern struct kse kse0; /* Primary kse in proc0 */
extern struct vmspace vmspace0; /* VM space for proc0. */
extern int hogticks; /* Limit on kernel cpu hogs. */
extern int nprocs, maxproc; /* Current and max number of procs. */
extern int maxprocperuid; /* Max procs per uid. */