Cleans up vcore/uth/pth init code
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 20 Dec 2012 02:37:56 +0000 (18:37 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 20 Dec 2012 02:37:56 +0000 (18:37 -0800)
commitd2618a177bf82bc62d62d7c273067274cff2a068
tree3b08cac90c7fd6f96f48bfa1ba1f0fa1ef3cbe45
parente7ccf46c4ae0c5d7e4533c100f8fbf70ec0cc4d8
Cleans up vcore/uth/pth init code

All init routines fail loudly, instead of passing values back where we
just assert or printf profanities.

Some of the code can be called from a few places - some for testing
reasons (pth), and others for todo-reasons (vcore, in case we have a
separate vc slim init).
tests/eth_audio.c
tests/msr_get_cores.c
tests/msr_get_singlecore.c
user/c3po/threads/vcore.c
user/parlib/include/uthread.h
user/parlib/include/vcore.h
user/parlib/uthread.c
user/parlib/vcore.c
user/pthread/pthread.c
user/pthread/pthread.h