Restore basic kmalloc/network functionality which was broken with the merge.
authorPaul Pearce <pearce@eecs.berkeley.edu>
Wed, 5 Aug 2009 01:36:25 +0000 (18:36 -0700)
committerPaul Pearce <pearce@eecs.berkeley.edu>
Wed, 5 Aug 2009 01:36:25 +0000 (18:36 -0700)
commit49debd3eec50944e1dba53887bf4280bb0952cc3
tree53eac6eb7686ab61dd4f0962b22ee6be80e4ef17
parentce74a332b87eaa71091fa01ee33bf66e9234b613
Restore basic kmalloc/network functionality which was broken with the merge.

Fixed a bug in env_setup_vm that was causing kmalloc to crash. A page ref
was not being increased nor page_inserted(). This is a quick hack until Kevin
finishes channels.

Rewrote parts of the nic interrupt / rx packet handler to deal with multiple
packet receptions at bad times. The use of interrupts on a different core
uncovered a bug in which data could be written after an interrupt flag was raised,
the driver now clears the interrupt bit immediately, loops until totally clear,
and does an extra 1 off check for new data incase more data came in between
our clear and our check.

run_remote_binary support is still broken from the merge.
kern/include/rl8168.h
kern/src/Makefrag
kern/src/env.c
kern/src/manager.c
kern/src/rl8168.c