Commit 616316e1 authored by Amir Hosein Kashani's avatar Amir Hosein Kashani

start of 3.2

parent a28f288c
......@@ -7,9 +7,7 @@ main(int argc,char **argv)
{
int a = 4;
getChildren(a);
getChildren(a);
int test = readcommand (0, command, args);
printf("i find this %d",test);
getChildren(a);
int result = getCount(22);
printf(1,"--- %d ---",result);
exit();
......
......@@ -342,7 +342,6 @@ scheduler(void)
c->proc = p;
switchuvm(p);
p->state = RUNNING;
swtch(&(c->scheduler), p->context);
switchkvm();
......
......@@ -38,6 +38,7 @@ enum procstate { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE };
struct proc {
int usagepointer;
int usage[100];
int priority;
uint sz; // Size of process memory (bytes)
pde_t* pgdir; // Page table
char *kstack; // Bottom of kernel stack for this process
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment