Fixes bug in pop_ros_tf
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 16 Mar 2011 02:38:39 +0000 (19:38 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:00 +0000 (17:36 -0700)
commit781e2fe643bc6e22c0758141eb5044441e29c37a
tree4ca538262141be2d8bc6632e690b99573fff6c40
parentd0f51558fadf165827c282dc7c2281857933f513
Fixes bug in pop_ros_tf

Brutal bug, where branches would make the wrong decision and syscall
structs would get clobbered.  EFLAGS wasn't restored, so an unlucky
IPI/notification would result in bad CCs.  Note: subl and addl affect
the flags.

Also, don't use the vcore stack for things like syscall struct storage
after you enable notifs!  Once notifs are enabled, you should not be
touching the vcore stack.
kern/src/kthread.c
kern/src/process.c
tests/hello.c
user/parlib/include/i686/vcore.h
user/parlib/include/vcore.h
user/parlib/uthread.c
user/pthread/pthread.c