Age | Commit message (Collapse) | Author | Files | Lines |
|
better parsing of sh commands (copied from jos sh)
cat: read from 1 if no args
sbrk system call, but untested
getpid system call
moved locks in keyboard intr, but why do we get intr w. null characters from keyboard?
|
|
renumber system calls (run gmake clean!)
skeleton for dup system call
|
|
cd in shell
nits in mkdir, ls, etc.
|
|
stat
|
|
|
|
no more cons_put system calls
usertests tests two processes writing files
|
|
primitive ls
|
|
convert userfs to use printf
bfree
ifree
writei
start on unlink
|
|
|
|
|
|
|
|
|
|
wakeup1() assumes you hold proc_table_lock
sleep(chan, lock) provides atomic sleep-and-release to wait for condition
ugly code in swtch/scheduler to implement new sleep
fix lots of bugs in pipes, wait, and exit
fix bugs if timer interrupt goes off in schedule()
console locks per line, not per byte
|
|
usertest.c tests pre-emption
kill()
|
|
user program that makes a blocking system call
|
|
swtch idles on per-CPU stack, not on calling process's stack
fix pipe bugs
usertest.c tests pipes, fork, exit, close
|
|
pipes
|
|
|
|
|
|
|