Glibc syscalls now block properly (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 21 Mar 2012 19:50:38 +0000 (12:50 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 21 Mar 2012 19:50:38 +0000 (12:50 -0700)
commit4ec85263e52e39b87063e00531287227b5f32d8e
treeb036acc7286c3ff44135e0890108942ab6791e5a
parentedb683d7d65a5aa4ce16c3010fee8ac61129c3bc
Glibc syscalls now block properly (XCC)

Glibc wasn't calling out to the proper blockon call.  We deal with this
by having a default blockon, defined in glibc's syscall.c, that
degenerate SCPs can use.  Once they init enough and have access to
parlib symbols, they switch the function ptr to use the 'real' blockon,
which uses glibc's default one for SCPs.

Rebuild glibc and anything in userspace.
12 files changed:
Documentation/glibc.txt
kern/include/ros/syscall.h
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/Makefile
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/Versions
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/i386/tls.h
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/sys/syscall.h [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/syscall.c
user/parlib/include/parlib.h
user/parlib/include/uthread.h
user/parlib/include/vcore.h
user/parlib/uthread.c
user/parlib/vcore.c