Commit graph

21 commits

Author SHA1 Message Date
rsc f0721f1be4 tweaks 2007-08-22 06:20:10 +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 f32f3638f4 Various cleanup:
- Got rid of dummy proc[0].  Now proc[0] is init.
 - Added initcode.S to exec /init, so that /init is
   just a regular binary.
 - Moved exec out of sysfile to exec.c
 - Moved code dealing with fs guts (like struct inode)
   from sysfile.c to fs.c.  Code dealing with system call
   arguments stays in sysfile.c
 - Refactored directory routines in fs.c; should be simpler.
 - Changed iget to return *unlocked* inode structure.
   This solves the lookup-then-use race in namei
   without introducing deadlocks.
   It also enabled getting rid of the dummy proc[0].
2007-08-21 19:22:08 +00:00
rsc 5e03dd86c8 add test for rm . 2007-08-10 17:53:09 +00:00
rsc 8139713c46 add note 2007-08-10 17:19:15 +00:00
rsc 4249490230 notes 2007-08-08 10:32:32 +00:00
rsc 35a24c8318 fix index bug 2007-08-08 09:29:18 +00:00
rsc 2e51e12f09 make ls work on directories 2007-08-08 09:17:09 +00:00
rsc 3fd50978a8 spacing 2007-08-08 09:12:53 +00:00
rsc 5d0fe3445b more bugs 2007-08-08 09:10:16 +00:00
rsc 5f0c20ec14 fix . .. unlink bug 2007-08-08 09:08:29 +00:00
rsc 5bbba977d1 done 2007-08-08 09:02:50 +00:00
rsc 00d0f794cf fix various bugs 2007-08-08 08:57:37 +00:00
rsc 39c84ccf48 fix wait bug in init 2007-08-08 08:39:23 +00:00
rsc 71d1122a03 add bootmain.c to runoff.list 2007-08-08 07:41:30 +00:00
rsc b4c1a88d6c forgot to check in long ago 2007-06-29 17:35:54 +00:00
kaashoek cc9c9814b2 bug reported by nelson 2006-10-19 13:10:08 +00:00
kaashoek 4b5443c3cd record tim's bug and patch 2006-10-18 14:58:27 +00:00
kaashoek 7356f26a68 a few notes 2006-10-13 19:55:07 +00:00
kaashoek f8ac639675 a few other nits 2006-09-17 22:01:12 +00:00
rsc c25e0a5ff8 accumulate bugs 2006-09-17 19:19:01 +00:00