Install Linux's epoll headers in glibc (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 27 Aug 2015 20:52:34 +0000 (16:52 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commitcdc52dc93da4709fd379003e2b3a79386bd4d1f9
treeef807e335809b634fd5249d53eb86e846655afb2
parent09454ccd643255815579a9aa21a5aa33f26349f3
Install Linux's epoll headers in glibc (XCC)

Akaros can do epoll in userspace, though the .c files can't live in
glibc due to requiring parts of parlib and benchutil.

We use the same interface as Linux, so we can just use the same header.
bits/epoll.h is actually Linux's x86/bits/epoll.h, so if the packed
attribue causes trouble for RISCV, we can adjust it.

Rebuild glibc.
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/Makefile
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/bits/epoll.h [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/sys/epoll.h [new file with mode: 0644]