Finished changing the syscalls in inv.c. Still a few left in ipc.S --
which could be the hard ones. Note this version doesn't have all syscalls working.