Fix a few debugging tools
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 4 Oct 2016 19:35:18 +0000 (15:35 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 6 Oct 2016 19:41:48 +0000 (15:41 -0400)
commit3e35adc452f2a01656aee3c134666c398e93e41e
tree3213b5d2b98a4d4dfa8517b2127770d288d455ca
parentf202fd6937cf71d396b1388d9cd280a758fabb05
Fix a few debugging tools

These are minor changes that helped with debugging.  The asserts in qio are
an attempt to debug I panic I got only once.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/monitor.c
kern/src/ns/qio.c
kern/src/ns/sysfile.c
kern/src/trap.c