Rename mem.c to mmap.c.
Add definitions for the sched_* syscalls.

Not hooked up yet.