Send preemption messages (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 12 Oct 2011 00:03:19 +0000 (17:03 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:08 +0000 (17:36 -0700)
commite7e72bd2e5c8d1cf7d8fbe64436fff959fbd4e29
tree1fdcf08f04b37df77f14bb80f34befea8a96fd8a
parentd5423754eab112653d7af5855c4986ad83a2ec25
Send preemption messages (XCC)

When a vcore is preempted, the kernel will send an event to the
appropriate ev_q.  For all uthread code, the handler and ev_q is set up
in uthread_lib_init().  Note that the handler does nothing yet but give
us some helpful information.

Reinstall your kernel headers (event.h).
kern/include/ros/event.h
kern/src/process.c
tests/mhello.c
user/parlib/uthread.c