swtch saves callee-saved registersswtch idles on per-CPU stack, not on calling process's stackfix pipe bugsusertest.c tests pipes, fork, exit, close
timer interrupts
file descriptorspipes
system call return valuesinitialize 2nd cpu's idt
compile "user programs"curproc array
primitive fork and exit system calls
fix some trap bugs
foo
1234