Made vmspace0 non-static. Its useful to be able to identify a vmspace as
the kernel vmspace.
This commit is contained in:
parent
e2479b4fc3
commit
2373499592
@ -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;
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user