]>
Devi Nivas Git - cs3210-lab0.git/log
rsc [Thu, 7 Sep 2006 14:38:56 +0000 (14:38 +0000)]
fix pipe bug
rsc [Thu, 7 Sep 2006 14:28:12 +0000 (14:28 +0000)]
comments
kaashoek [Thu, 7 Sep 2006 14:17:30 +0000 (14:17 +0000)]
remove fstest
rsc [Thu, 7 Sep 2006 14:13:26 +0000 (14:13 +0000)]
refactor syscall code
rsc [Thu, 7 Sep 2006 14:12:30 +0000 (14:12 +0000)]
more comments
rsc [Thu, 7 Sep 2006 14:10:52 +0000 (14:10 +0000)]
fix build
kaashoek [Thu, 7 Sep 2006 13:23:41 +0000 (13:23 +0000)]
one regression test program
rsc [Thu, 7 Sep 2006 13:08:23 +0000 (13:08 +0000)]
remove _ prefixes
rsc [Thu, 7 Sep 2006 13:07:52 +0000 (13:07 +0000)]
comment fixes
rsc [Thu, 7 Sep 2006 13:07:39 +0000 (13:07 +0000)]
avoid system binary clashes
rsc [Thu, 7 Sep 2006 13:07:29 +0000 (13:07 +0000)]
better page breaks
kaashoek [Thu, 7 Sep 2006 03:16:15 +0000 (03:16 +0000)]
more simplifying
kaashoek [Thu, 7 Sep 2006 02:15:28 +0000 (02:15 +0000)]
get precedence of <, >, and | right
simplify
rsc [Thu, 7 Sep 2006 01:56:22 +0000 (01:56 +0000)]
more defensive programming
kaashoek [Thu, 7 Sep 2006 01:37:58 +0000 (01:37 +0000)]
run without lapic and ioapic, if they are not present
if no lapic available, use 8253pit for clock
now xv6 runs both on qemu (uniprocessor) and bochs (uniprocessor and MP)
kaashoek [Thu, 7 Sep 2006 00:00:33 +0000 (00:00 +0000)]
nit in console interrupts
rsc [Wed, 6 Sep 2006 19:47:07 +0000 (19:47 +0000)]
fd.c -> file.c
rsc [Wed, 6 Sep 2006 19:43:59 +0000 (19:43 +0000)]
runoff fixes
rsc [Wed, 6 Sep 2006 19:22:24 +0000 (19:22 +0000)]
runoff tweaks
rsc [Wed, 6 Sep 2006 19:11:57 +0000 (19:11 +0000)]
goodbye lgrind
rsc [Wed, 6 Sep 2006 19:11:39 +0000 (19:11 +0000)]
clean up after mkfs
rsc [Wed, 6 Sep 2006 19:08:14 +0000 (19:08 +0000)]
wrap long lines
rsc [Wed, 6 Sep 2006 18:47:51 +0000 (18:47 +0000)]
for vs while
rsc [Wed, 6 Sep 2006 18:47:48 +0000 (18:47 +0000)]
weird spacing
rsc [Wed, 6 Sep 2006 18:43:45 +0000 (18:43 +0000)]
fd_* => file_*
rsc [Wed, 6 Sep 2006 18:40:28 +0000 (18:40 +0000)]
fd.* -> file.*
rsc [Wed, 6 Sep 2006 18:38:56 +0000 (18:38 +0000)]
struct fd -> struct file
rsc [Wed, 6 Sep 2006 18:21:54 +0000 (18:21 +0000)]
what is NULL?
rsc [Wed, 6 Sep 2006 18:19:36 +0000 (18:19 +0000)]
renumber system calls
rsc [Wed, 6 Sep 2006 18:19:11 +0000 (18:19 +0000)]
split syscall.c into sysfile.c and sysproc.c
rsc [Wed, 6 Sep 2006 18:18:43 +0000 (18:18 +0000)]
rm rm
rsc [Wed, 6 Sep 2006 18:06:04 +0000 (18:06 +0000)]
writeable => writable
rsc [Wed, 6 Sep 2006 17:57:47 +0000 (17:57 +0000)]
break single-line if statements
rsc [Wed, 6 Sep 2006 17:54:29 +0000 (17:54 +0000)]
more named constants
rsc [Wed, 6 Sep 2006 17:53:15 +0000 (17:53 +0000)]
more tabs go away
rsc [Wed, 6 Sep 2006 17:50:20 +0000 (17:50 +0000)]
no /* */ comments
rsc [Wed, 6 Sep 2006 17:27:19 +0000 (17:27 +0000)]
standardize various * conventions
rsc [Wed, 6 Sep 2006 17:10:00 +0000 (17:10 +0000)]
standardize on unnamed args in prototypes
rsc [Wed, 6 Sep 2006 17:06:10 +0000 (17:06 +0000)]
spacing
rsc [Wed, 6 Sep 2006 17:04:06 +0000 (17:04 +0000)]
spacing fixes: no tabs, 2-space indents (for rtm)
rsc [Wed, 6 Sep 2006 16:38:39 +0000 (16:38 +0000)]
print "0" for null string
rsc [Wed, 6 Sep 2006 16:36:54 +0000 (16:36 +0000)]
tweak
rsc [Wed, 6 Sep 2006 16:35:21 +0000 (16:35 +0000)]
clear np->mem after freeing
kaashoek [Wed, 6 Sep 2006 15:32:21 +0000 (15:32 +0000)]
some pipe support in sh
bug in proc_wait
kaashoek [Wed, 6 Sep 2006 01:25:41 +0000 (01:25 +0000)]
nits
kaashoek [Wed, 6 Sep 2006 00:07:09 +0000 (00:07 +0000)]
change sections and order of files in printout
rsc [Tue, 5 Sep 2006 15:50:55 +0000 (15:50 +0000)]
New formatting scripts.
The use/defs extraction in runoff still needs some work
for xv6 code style.
kaashoek [Mon, 4 Sep 2006 12:41:27 +0000 (12:41 +0000)]
a few nits
rtm [Mon, 4 Sep 2006 11:52:36 +0000 (11:52 +0000)]
nits
kaashoek [Sun, 3 Sep 2006 18:32:58 +0000 (18:32 +0000)]
nits
kaashoek [Sun, 3 Sep 2006 17:34:09 +0000 (17:34 +0000)]
don't send keyboard interrupts to the second cpu, if we have only one cpu.
xv6 seems to work fine on uniprocessor now.
kaashoek [Sun, 3 Sep 2006 15:39:29 +0000 (15:39 +0000)]
remove duplication
don't use the same name for two different pieces of code
kaashoek [Sun, 3 Sep 2006 15:10:33 +0000 (15:10 +0000)]
centralize credits
kaashoek [Sun, 3 Sep 2006 14:38:10 +0000 (14:38 +0000)]
index for printout
some cleanup
rtm [Wed, 30 Aug 2006 18:55:06 +0000 (18:55 +0000)]
complain if no disk 1
lots of cleanup
rtm [Tue, 29 Aug 2006 21:35:30 +0000 (21:35 +0000)]
nits
rtm [Tue, 29 Aug 2006 19:59:52 +0000 (19:59 +0000)]
clear killed flag in exit
idecref cwd in exit
rtm [Tue, 29 Aug 2006 19:06:37 +0000 (19:06 +0000)]
prune unneeded panics and debug output
kaashoek [Tue, 29 Aug 2006 17:50:19 +0000 (17:50 +0000)]
better printout
rtm [Tue, 29 Aug 2006 17:01:40 +0000 (17:01 +0000)]
i broke sbrk, fix it
rtm [Tue, 29 Aug 2006 14:45:45 +0000 (14:45 +0000)]
clean up stale error checks and panics
delete unused functions
a few comments
kaashoek [Mon, 28 Aug 2006 18:31:33 +0000 (18:31 +0000)]
some text in readme
generate postscript printout
kaashoek [Mon, 28 Aug 2006 15:24:23 +0000 (15:24 +0000)]
remove smallcap version
rtm [Sat, 26 Aug 2006 16:31:05 +0000 (16:31 +0000)]
consistently ignore more than 14 chars in path component
forbid create or write of existing directory
mkdir("d1/d2/d3"), .. should refer to d2, not cwd
mkdir increase parent link count
rtm [Sat, 26 Aug 2006 15:06:59 +0000 (15:06 +0000)]
mkdir check error from mknod
chdir return -1 if target not a dir
rtm [Fri, 25 Aug 2006 01:37:54 +0000 (01:37 +0000)]
fstests bugs
rtm [Fri, 25 Aug 2006 01:25:22 +0000 (01:25 +0000)]
fix writing the indirect block
rtm [Fri, 25 Aug 2006 01:11:30 +0000 (01:11 +0000)]
inode addrs[NDIRECT] -> NADDRS
fix race in mknod / creat
use last component in dirent in mknod, not path
kaashoek [Fri, 25 Aug 2006 00:43:17 +0000 (00:43 +0000)]
kill user process when it generates an unhandled trap (e.g., 13)
fix bug in test code of malloc
kaashoek [Thu, 24 Aug 2006 19:24:36 +0000 (19:24 +0000)]
bug in sbrk
test malloc
rtm [Thu, 24 Aug 2006 19:21:19 +0000 (19:21 +0000)]
big directory test
kaashoek [Thu, 24 Aug 2006 17:28:01 +0000 (17:28 +0000)]
fix bugs in indirect-file code
clean up test program
kaashoek [Thu, 24 Aug 2006 02:44:41 +0000 (02:44 +0000)]
user-level malloc (untested)
nit in sbrk
indirect block
fix dup to share fd struct
kaashoek [Wed, 23 Aug 2006 01:09:24 +0000 (01:09 +0000)]
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?
kaashoek [Sun, 20 Aug 2006 03:33:01 +0000 (03:33 +0000)]
compiling, but untested dup
kaashoek [Sun, 20 Aug 2006 03:08:54 +0000 (03:08 +0000)]
removed block system call
renumber system calls (run gmake clean!)
skeleton for dup system call
kaashoek [Sat, 19 Aug 2006 23:41:34 +0000 (23:41 +0000)]
chdir
cd in shell
nits in mkdir, ls, etc.
rtm [Wed, 16 Aug 2006 01:56:00 +0000 (01:56 +0000)]
proc[0] can sleep(), at least after it gets to main00()
proc[0] calls iget(rootdev, 1) before forking init
rtm [Tue, 15 Aug 2006 22:18:20 +0000 (22:18 +0000)]
no more proc[] entry per cpu for idle loop
each cpu[] has its own gdt and tss
no per-proc gdt or tss, re-write cpu's in scheduler (you win, cliff)
main0() switches to cpu[0].mpstack
kaashoek [Tue, 15 Aug 2006 15:54:53 +0000 (15:54 +0000)]
oops
kaashoek [Tue, 15 Aug 2006 15:53:46 +0000 (15:53 +0000)]
commented out code for cwd
kaashoek [Mon, 14 Aug 2006 21:22:13 +0000 (21:22 +0000)]
user-level programs: mkdir and rm
shell parses arguments (very simplistic)
readme version of README (sh doesn't deal with capital characters)
printf recognizes %c
nicer output format for ls
kaashoek [Mon, 14 Aug 2006 14:13:52 +0000 (14:13 +0000)]
set size for directories correctly in wdir and mkfs
mkdir
ls shows stat info for each dir entry
kaashoek [Mon, 14 Aug 2006 03:00:13 +0000 (03:00 +0000)]
start on mkdir
stat
rtm [Sun, 13 Aug 2006 20:06:42 +0000 (20:06 +0000)]
wdir now uses readi/writei
rtm [Sun, 13 Aug 2006 15:51:58 +0000 (15:51 +0000)]
fix iget() bug that allocated in-use inode[] entries
kaashoek [Sun, 13 Aug 2006 15:05:58 +0000 (15:05 +0000)]
don't print unallocated dir entries
rtm [Sun, 13 Aug 2006 12:22:44 +0000 (12:22 +0000)]
namei returns locked parent dir inode for create / unlink
don't hold fd table lock across idecref() (latter does block i/o)
idecref calls iput() in case last ref -> freeing inode
dir size is 512 * # blocks, so readi/writei &c work
unlink deletes dirent even if ip->nlink > 0
kaashoek [Sun, 13 Aug 2006 05:28:04 +0000 (05:28 +0000)]
zero freed blocks
multi-block directories
track size of directory (size = number entries in use)
should namei (and other code that scans through directories) scan through all blocks of a directory and not use size?
rtm [Sun, 13 Aug 2006 02:12:44 +0000 (02:12 +0000)]
link()
rtm [Sat, 12 Aug 2006 22:44:26 +0000 (22:44 +0000)]
zero out all of dirent.name when creating
don't increase length of directory
rtm [Sat, 12 Aug 2006 22:34:13 +0000 (22:34 +0000)]
LRU disk cache replacement
kaashoek [Sat, 12 Aug 2006 22:03:01 +0000 (22:03 +0000)]
free inode only when noone is holding a pointer to it. should fix open-unlink-
read problem, but untested
rtm [Sat, 12 Aug 2006 17:17:35 +0000 (17:17 +0000)]
buffer cache, fifo replacement
rtm [Sat, 12 Aug 2006 16:47:48 +0000 (16:47 +0000)]
mknod set nlink = 1
usertests for concurrent create/delete, and read() after unlink()
rtm [Sat, 12 Aug 2006 11:38:57 +0000 (11:38 +0000)]
fix getblk to actually lock the block
no more cons_put system calls
usertests tests two processes writing files
kaashoek [Sat, 12 Aug 2006 04:33:50 +0000 (04:33 +0000)]
fstat
primitive ls
kaashoek [Sat, 12 Aug 2006 01:25:45 +0000 (01:25 +0000)]
unlink,mknod,create with multi-component pathnames should work now
remove console init code from userfs
kaashoek [Fri, 11 Aug 2006 18:18:38 +0000 (18:18 +0000)]
fix deadlock---iput(dp) asap
working unlink, but doesn't free dir blocks that become empty
remove out-of-date comment in ioapic
rtm [Fri, 11 Aug 2006 13:55:18 +0000 (13:55 +0000)]
init creates console, opens 0/1/2, runs sh
sh accepts 0-argument commands (like userfs)
reads from console