C code for CS630, Modern Operating System.