c: add freelist.c and swapcontext.c