|
@@ -56,7 +56,6 @@ static void activeinit(void)
|
|
|
for (int i = 0; i < 12; ++i)
|
|
|
{
|
|
|
*(active + i) = NULL;
|
|
|
- kprintf("array at i: %p", *(active + i));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -171,6 +170,7 @@ void intersection_sync_init()
|
|
|
panic("Could not allocate offset arrays.\n");
|
|
|
}
|
|
|
|
|
|
+ kprintf("finished init steps\n");
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -183,7 +183,6 @@ void intersection_sync_init()
|
|
|
void intersection_sync_cleanup()
|
|
|
{
|
|
|
KASSERT(active);
|
|
|
-
|
|
|
cleanup();
|
|
|
lock_destroy(globlock);
|
|
|
}
|
|
@@ -227,7 +226,6 @@ void intersection_before_entry(Direction origin, Direction destination)
|
|
|
temp->cv = cv_create("carcv");
|
|
|
}
|
|
|
|
|
|
- //kprintf("actually sleeping now\n");
|
|
|
cv_wait(temp->cv, globlock); // sleep and reacquire lock once woken
|
|
|
goto RESTART; // now we have to make sure there's nothing else screwing us over
|
|
|
}
|