Commit graph

24 commits

Author SHA1 Message Date
rsc a1af366500 add struct stat decl 2007-08-28 04:20:25 +00:00
rsc efc12b8e61 Replace yield system call with sleep. 2007-08-27 13:34:35 +00:00
rsc 07090dd705 Remove struct uinode.
Remove type arg to mknod (assume T_DEV).
2007-08-24 20:54:23 +00:00
rsc 1b789e1d50 Remove puts in favor of printf.
Allow multiple arguments to ls.
2007-08-24 20:03:40 +00:00
rsc eaea18cb9c PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf
Various changes made while offline.

 + bwrite sector argument is redundant; use b->sector.
 + reformatting of files for nicer PDF page breaks
 + distinguish between locked, unlocked inodes in type signatures
 + change FD_FILE to FD_INODE
 + move userinit (nee proc0init) to proc.c
 + move ROOTDEV to param.h
 + always parenthesize sizeof argument
2007-08-22 06:01:32 +00:00
rsc 115e177400 standardize on not using unsigned keyword 2007-08-08 09:30:48 +00:00
rsc e204d0a151 atoi, for kill 2007-08-08 08:56:09 +00:00
rsc 9e9bcaf143 standardize various * conventions 2006-09-06 17:27:19 +00:00
kaashoek d49a2d5386 nits 2006-09-06 01:25:41 +00:00
kaashoek 81d5219998 bug in sbrk
test malloc
2006-08-24 19:24:36 +00:00
kaashoek ea2909b6b5 user-level malloc (untested)
nit in sbrk
indirect block
fix dup to share fd struct
2006-08-24 02:44:41 +00:00
kaashoek 8b58e81077 i/o redirection in sh
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?
2006-08-23 01:09:24 +00:00
kaashoek 16083d4462 removed block system call
renumber system calls (run gmake clean!)
skeleton for dup system call
2006-08-20 03:08:54 +00:00
kaashoek 8787cd01df chdir
cd in shell
nits in mkdir, ls, etc.
2006-08-19 23:41:34 +00:00
kaashoek d15f0d1033 start on mkdir
stat
2006-08-14 03:00:13 +00:00
rtm 9e5970d596 link() 2006-08-13 02:12:44 +00:00
rtm 4357207237 fix getblk to actually lock the block
no more cons_put system calls
usertests tests two processes writing files
2006-08-12 11:38:57 +00:00
kaashoek 1f544842ce fstat
primitive ls
2006-08-12 04:33:50 +00:00
rtm 17a856577f init creates console, opens 0/1/2, runs sh
sh accepts 0-argument commands (like userfs)
reads from console
2006-08-11 13:55:18 +00:00
kaashoek 28d9ef04dd printf
convert userfs to use printf
bfree
ifree
writei
start on unlink
2006-08-10 01:28:57 +00:00
rtm 0e84a0ec6e fix race in holding() check in acquire()
give cpu1 a TSS and gdt for when it enters scheduler()
and a pseudo proc[] entry for each cpu
cpu0 waits for each other cpu to start up
read() for files
2006-08-08 19:58:06 +00:00
kaashoek e8d11c2e84 mknod,ialloc,iupdate 2006-08-08 18:07:37 +00:00
rsc b75c11b20e add %s to cprintf for cons_puts 2006-07-16 16:00:03 +00:00
rsc 9b37d1bfaa Add user.h for prototypes.
Add cons_puts for cleaner output.
2006-07-16 15:36:31 +00:00