parlib: Add a syscall lookup table (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 27 Jan 2017 06:39:13 +0000 (01:39 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 9 Feb 2017 17:31:08 +0000 (12:31 -0500)
commit5fda4a6e3047ed67049c0210a9eb5f9acefc16c3
treef90debc1d45f5558cc4e92a591322e995eeb5af5
parenta6554255f4f63c13e572f89cd04f5d52212fc8cc
parlib: Add a syscall lookup table (XCC)

This is a simple lookup table of strings, indexed by syscall number.
For instance:
[ 102 ] = "openat",

The table will rebuild whenever the kernel headers change, based on the
*repo's* header, not the one in your toolchain.  libparlib.a also
depends on this file, so basically everything will rebuild when we muck
with the syscall numbers.

Reinstall your kernel headers.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
.gitignore
kern/include/ros/bits/syscall.h
scripts/make_syscall_tbl.sh [new file with mode: 0755]
user/parlib/Makefile
user/parlib/include/parlib/parlib.h