kernel: move "setargs" field in Proc structure after "nargs" and "args"

This commit is contained in:
cinap_lenrek 2015-08-09 21:48:58 +02:00
parent b4f56f1f4e
commit 7ba3be82a7

View file

@ -651,6 +651,7 @@ struct Proc
char *user;
char *args;
int nargs; /* number of bytes of args */
int setargs; /* process changed its args */
Proc *rnext; /* next process in run queue */
Proc *qnext; /* next process on queue for a QLock */
QLock *qlock; /* addr of qlock being queued for DEBUG */
@ -766,8 +767,6 @@ struct Proc
uintptr qpc; /* pc calling last blocking qlock */
QLock *eql; /* interruptable eqlock */
int setargs; /* process changed its args */
void *ureg; /* User registers for notes */
void *dbgreg; /* User registers for devproc */
Notsave;