Minor debugging fixes
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Jul 2014 01:26:10 +0000 (18:26 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Jul 2014 01:26:10 +0000 (18:26 -0700)
commitc60c0edd58793620272ce479b942d90c22b21612
tree16f02718509f56da276f767d49ab784123b5a711
parentd6c02c962dfc1b1834b321765196f9073116d075
Minor debugging fixes

pip for a DYING process would panic the kernel since the file's in the
file table were garbage.  At a minimum, we should be checking the bit
before checking the pointer.
kern/include/pmap.h
kern/src/process.c
kern/src/syscall.c