User code can tell if it is in vcore context (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Feb 2011 19:11:10 +0000 (11:11 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:59 +0000 (17:35 -0700)
commit4e8b9211a711c00100eefe417877c4c61122f170
tree5dcbc06c2fc08cf76d393dfdf963f7f78a34d1a1
parent91c814bad93de4502b9e189a96be59d46c938217
User code can tell if it is in vcore context (XCC)

Use the function in_vcore_context().  Also moved some functions to
vcore.h that can be easily inlined.

Rebuild your cross compiler.
tests/mhello.c
tests/pthread_test.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/start.c
user/parlib/include/vcore.h
user/parlib/vcore.c
user/pthread/pthread.c