]> Devi Nivas Git - cs3210-lab0.git/log
cs3210-lab0.git
18 years agoformatting
rsc [Tue, 14 Aug 2007 18:42:34 +0000 (18:42 +0000)]
formatting

18 years agoide_write unused => gone
rsc [Tue, 14 Aug 2007 14:24:09 +0000 (14:24 +0000)]
ide_write unused => gone

18 years agoGcc expects to be able to pick up the return
rsc [Tue, 14 Aug 2007 04:56:30 +0000 (04:56 +0000)]
Gcc expects to be able to pick up the return
address off the stack, so put one there for it.
(Bug was hidden by bad segment limits.)

18 years agoBecause limit gives the address of the last addressable
rsc [Tue, 14 Aug 2007 04:55:45 +0000 (04:55 +0000)]
Because limit gives the address of the last addressable
byte in the segment, the limit argument to SEG16 and SEG
needs to have 1 subtracted from it.

18 years agoditto
rsc [Tue, 14 Aug 2007 04:06:02 +0000 (04:06 +0000)]
ditto

18 years agoCannot use "g" as an arg constraint because
rsc [Tue, 14 Aug 2007 04:05:27 +0000 (04:05 +0000)]
Cannot use "g" as an arg constraint because
some memory references aren't actually valid
and gcc is a bit too smart in parsing (%0) and
a bit too dumb in knowing which memory refs
are not valid.  Using "r" seems to constrain gcc
to use a register as in (%eax) and not substitute
a memory reference like (-36(%ebp)).

No one really understands these things.

18 years agoadd test for rm .
rsc [Fri, 10 Aug 2007 17:53:09 +0000 (17:53 +0000)]
add test for rm .

18 years agonit
rsc [Fri, 10 Aug 2007 17:45:49 +0000 (17:45 +0000)]
nit

18 years agocorrect line numbers
rsc [Fri, 10 Aug 2007 17:45:14 +0000 (17:45 +0000)]
correct line numbers

18 years agoadd note
rsc [Fri, 10 Aug 2007 17:19:15 +0000 (17:19 +0000)]
add note

18 years agoand spinlock
rsc [Fri, 10 Aug 2007 17:17:57 +0000 (17:17 +0000)]
and spinlock

18 years agoavoid assignments in declarations
rsc [Fri, 10 Aug 2007 17:17:42 +0000 (17:17 +0000)]
avoid assignments in declarations

18 years agoreplace bogus loops with slightly less bogus loops.
rsc [Fri, 10 Aug 2007 17:05:46 +0000 (17:05 +0000)]
replace bogus loops with slightly less bogus loops.

18 years agotweak kalloc
rsc [Fri, 10 Aug 2007 17:02:36 +0000 (17:02 +0000)]
tweak kalloc

18 years agocleanup main
rsc [Fri, 10 Aug 2007 17:00:00 +0000 (17:00 +0000)]
cleanup main

18 years agovarious cleanups
rsc [Fri, 10 Aug 2007 16:52:31 +0000 (16:52 +0000)]
various cleanups

18 years agoMake cp a magic symbol.
rsc [Fri, 10 Aug 2007 16:37:27 +0000 (16:37 +0000)]
Make cp a magic symbol.

18 years agomove variable declaration up
rsc [Fri, 10 Aug 2007 16:35:01 +0000 (16:35 +0000)]
move variable declaration up

18 years agoThe final curproc[cpu()] is now cp
rsc [Thu, 9 Aug 2007 19:06:37 +0000 (19:06 +0000)]
The final curproc[cpu()] is now cp

18 years agoClearer namei
rsc [Thu, 9 Aug 2007 19:05:00 +0000 (19:05 +0000)]
Clearer namei

18 years agooops
rsc [Thu, 9 Aug 2007 17:53:03 +0000 (17:53 +0000)]
oops

18 years agotry to use cp only for curproc[cpu()]
rsc [Thu, 9 Aug 2007 17:32:40 +0000 (17:32 +0000)]
try to use cp only for curproc[cpu()]

18 years agospacing
rsc [Thu, 9 Aug 2007 16:56:40 +0000 (16:56 +0000)]
spacing

18 years agonotes
rsc [Wed, 8 Aug 2007 10:32:32 +0000 (10:32 +0000)]
notes

18 years agocheck p->killed for long-lived sleeps
rsc [Wed, 8 Aug 2007 10:29:42 +0000 (10:29 +0000)]
check p->killed for long-lived sleeps

18 years ago2007
rsc [Wed, 8 Aug 2007 10:27:15 +0000 (10:27 +0000)]
2007

18 years agohelp gcc
rsc [Wed, 8 Aug 2007 10:27:04 +0000 (10:27 +0000)]
help gcc

18 years agomove ialloc body up, avoiding double check for end of loop
rsc [Wed, 8 Aug 2007 09:53:46 +0000 (09:53 +0000)]
move ialloc body up, avoiding double check for end of loop

18 years agopanic like bget
rsc [Wed, 8 Aug 2007 09:50:46 +0000 (09:50 +0000)]
panic like bget

18 years agorefactor bget to be more like iget - make it clear that sleep loops
rsc [Wed, 8 Aug 2007 09:50:26 +0000 (09:50 +0000)]
refactor bget to be more like iget - make it clear that sleep loops

18 years agounused
rsc [Wed, 8 Aug 2007 09:44:23 +0000 (09:44 +0000)]
unused

18 years agocleaner table
rsc [Wed, 8 Aug 2007 09:43:07 +0000 (09:43 +0000)]
cleaner table

18 years agocleaner table
rsc [Wed, 8 Aug 2007 09:42:36 +0000 (09:42 +0000)]
cleaner table

18 years agoconvert syscall dispatch to table
rsc [Wed, 8 Aug 2007 09:41:21 +0000 (09:41 +0000)]
convert syscall dispatch to table

18 years agomissing void
rsc [Wed, 8 Aug 2007 09:32:39 +0000 (09:32 +0000)]
missing void

18 years agofix error message
rsc [Wed, 8 Aug 2007 09:30:58 +0000 (09:30 +0000)]
fix error message

18 years agostandardize on not using unsigned keyword
rsc [Wed, 8 Aug 2007 09:30:48 +0000 (09:30 +0000)]
standardize on not using unsigned keyword

18 years agoiincref returns new ref
rsc [Wed, 8 Aug 2007 09:30:42 +0000 (09:30 +0000)]
iincref returns new ref

18 years agofix index bug
rsc [Wed, 8 Aug 2007 09:29:18 +0000 (09:29 +0000)]
fix index bug

18 years agomake ls work on directories
rsc [Wed, 8 Aug 2007 09:17:09 +0000 (09:17 +0000)]
make ls work on directories

18 years agospacing
rsc [Wed, 8 Aug 2007 09:12:53 +0000 (09:12 +0000)]
spacing

18 years agomore bugs
rsc [Wed, 8 Aug 2007 09:10:16 +0000 (09:10 +0000)]
more bugs

18 years agofix . .. unlink bug
rsc [Wed, 8 Aug 2007 09:08:29 +0000 (09:08 +0000)]
fix . .. unlink bug

18 years agodone
rsc [Wed, 8 Aug 2007 09:02:50 +0000 (09:02 +0000)]
done

18 years agoadd DPL_USER constant
rsc [Wed, 8 Aug 2007 09:02:42 +0000 (09:02 +0000)]
add DPL_USER constant

18 years agoset init name
rsc [Wed, 8 Aug 2007 08:57:55 +0000 (08:57 +0000)]
set init name

18 years agofix various bugs
rsc [Wed, 8 Aug 2007 08:57:37 +0000 (08:57 +0000)]
fix various bugs

18 years agosilence warning
rsc [Wed, 8 Aug 2007 08:57:23 +0000 (08:57 +0000)]
silence warning

18 years agowatch for zombies
rsc [Wed, 8 Aug 2007 08:57:03 +0000 (08:57 +0000)]
watch for zombies

18 years agoatoi, for kill
rsc [Wed, 8 Aug 2007 08:56:09 +0000 (08:56 +0000)]
atoi, for kill

18 years agoadd kill
rsc [Wed, 8 Aug 2007 08:50:23 +0000 (08:50 +0000)]
add kill

18 years agospacing
rsc [Wed, 8 Aug 2007 08:44:11 +0000 (08:44 +0000)]
spacing

18 years agooops
rsc [Wed, 8 Aug 2007 08:40:08 +0000 (08:40 +0000)]
oops

18 years agofix wait bug in init
rsc [Wed, 8 Aug 2007 08:39:23 +0000 (08:39 +0000)]
fix wait bug in init

18 years agohandle EOF in shell
rsc [Wed, 8 Aug 2007 08:39:07 +0000 (08:39 +0000)]
handle EOF in shell

18 years agoadd zombie program
rsc [Wed, 8 Aug 2007 08:38:55 +0000 (08:38 +0000)]
add zombie program

18 years agocomment tweaks; more informative process list
rsc [Wed, 8 Aug 2007 08:38:38 +0000 (08:38 +0000)]
comment tweaks; more informative process list

18 years agosave process name for debugging
rsc [Wed, 8 Aug 2007 08:38:11 +0000 (08:38 +0000)]
save process name for debugging

18 years agoadd safestrcpy
rsc [Wed, 8 Aug 2007 08:37:22 +0000 (08:37 +0000)]
add safestrcpy

18 years agotypo
rsc [Wed, 8 Aug 2007 08:27:32 +0000 (08:27 +0000)]
typo

18 years agochange gets to return \n, to distinguish 0-byte read from empty line
rsc [Wed, 8 Aug 2007 08:04:20 +0000 (08:04 +0000)]
change gets to return \n, to distinguish 0-byte read from empty line

18 years agoadd EOF handling to console_read - works with cat
rsc [Wed, 8 Aug 2007 08:04:02 +0000 (08:04 +0000)]
add EOF handling to console_read - works with cat

18 years agoadd rule to generate init.sym
rsc [Wed, 8 Aug 2007 07:43:02 +0000 (07:43 +0000)]
add rule to generate init.sym

18 years agoadd bootmain.c to runoff.list
rsc [Wed, 8 Aug 2007 07:41:30 +0000 (07:41 +0000)]
add bootmain.c to runoff.list

18 years agoforgot to check in long ago
rsc [Fri, 29 Jun 2007 17:35:54 +0000 (17:35 +0000)]
forgot to check in long ago

19 years agobug reported by nelson
kaashoek [Thu, 19 Oct 2006 13:10:08 +0000 (13:10 +0000)]
bug reported by nelson

19 years agorecord tim's bug and patch
kaashoek [Wed, 18 Oct 2006 14:58:27 +0000 (14:58 +0000)]
record tim's bug and patch

19 years agoa few notes
kaashoek [Fri, 13 Oct 2006 19:55:07 +0000 (19:55 +0000)]
a few notes

19 years agoa few other nits
kaashoek [Sun, 17 Sep 2006 22:01:12 +0000 (22:01 +0000)]
a few other nits

19 years agoHave kernel build rule create kernel.sym, which can be
rsc [Sun, 17 Sep 2006 19:21:12 +0000 (19:21 +0000)]
Have kernel build rule create kernel.sym, which can be
used in Bochs to make breakpoint setting easier:

load-symbols "kernel.sym"
vb 0x8:"main0"
c
disasm/25 "main0"
vb 0x8:"main0"+0x5f
c

etc.

19 years agoaccumulate bugs
rsc [Sun, 17 Sep 2006 19:19:01 +0000 (19:19 +0000)]
accumulate bugs

19 years agoa copy of xv6.pdf that can be sent to turkey and duplexes correctly
rsc [Fri, 8 Sep 2006 16:19:26 +0000 (16:19 +0000)]
a copy of xv6.pdf that can be sent to turkey and duplexes correctly

19 years agosent to printer - CTC job 6955 40 copies
rsc [Fri, 8 Sep 2006 15:55:26 +0000 (15:55 +0000)]
sent to printer - CTC job 6955 40 copies

19 years agodist tarball
rsc [Fri, 8 Sep 2006 15:44:42 +0000 (15:44 +0000)]
dist tarball

19 years agofix toc example
rsc [Fri, 8 Sep 2006 15:39:24 +0000 (15:39 +0000)]
fix toc example

19 years agotweak
rsc [Fri, 8 Sep 2006 15:34:04 +0000 (15:34 +0000)]
tweak

19 years agoshorten
rsc [Fri, 8 Sep 2006 15:31:23 +0000 (15:31 +0000)]
shorten

19 years agounnecessary struct jmpbuf
rsc [Fri, 8 Sep 2006 15:31:18 +0000 (15:31 +0000)]
unnecessary struct jmpbuf

19 years agomake lines shorter
rsc [Fri, 8 Sep 2006 15:18:58 +0000 (15:18 +0000)]
make lines shorter

19 years agonit
rsc [Fri, 8 Sep 2006 15:15:44 +0000 (15:15 +0000)]
nit

19 years agoformatting nits
rsc [Fri, 8 Sep 2006 15:14:43 +0000 (15:14 +0000)]
formatting nits

19 years agoonly need a page
rsc [Fri, 8 Sep 2006 15:09:48 +0000 (15:09 +0000)]
only need a page

19 years agoconsistency.
kaashoek [Fri, 8 Sep 2006 15:07:45 +0000 (15:07 +0000)]
consistency.

19 years agouse bootstrap processor as specified by MP table. typically 0, but not
kaashoek [Fri, 8 Sep 2006 14:48:07 +0000 (14:48 +0000)]
use bootstrap processor as specified by MP table. typically 0, but not
guaranteed.

19 years agoupdate line numbers
rsc [Fri, 8 Sep 2006 14:46:16 +0000 (14:46 +0000)]
update line numbers

19 years agoxv6 style
rsc [Fri, 8 Sep 2006 14:41:18 +0000 (14:41 +0000)]
xv6 style

19 years agodist rules
rsc [Fri, 8 Sep 2006 14:41:06 +0000 (14:41 +0000)]
dist rules

19 years agotweaks
rsc [Fri, 8 Sep 2006 14:40:59 +0000 (14:40 +0000)]
tweaks

19 years agofix file names
rsc [Fri, 8 Sep 2006 14:40:51 +0000 (14:40 +0000)]
fix file names

19 years agowording nit
rsc [Fri, 8 Sep 2006 14:36:56 +0000 (14:36 +0000)]
wording nit

19 years agosome comment changes
kaashoek [Fri, 8 Sep 2006 14:36:44 +0000 (14:36 +0000)]
some comment changes

19 years agomove ide_intr lower
rsc [Fri, 8 Sep 2006 14:33:27 +0000 (14:33 +0000)]
move ide_intr lower

19 years agotweak fs.h spacing; add comment
rsc [Fri, 8 Sep 2006 14:31:17 +0000 (14:31 +0000)]
tweak fs.h spacing; add comment

19 years agomake trap fit on one page
rsc [Fri, 8 Sep 2006 14:29:58 +0000 (14:29 +0000)]
make trap fit on one page

19 years agomove growproc up higher
rsc [Fri, 8 Sep 2006 14:26:51 +0000 (14:26 +0000)]
move growproc up higher

19 years ago++
rsc [Fri, 8 Sep 2006 14:26:16 +0000 (14:26 +0000)]
++

19 years agomake setjmp fit on one page
rsc [Fri, 8 Sep 2006 14:20:43 +0000 (14:20 +0000)]
make setjmp fit on one page

19 years agocan break after }; too
rsc [Fri, 8 Sep 2006 14:19:30 +0000 (14:19 +0000)]
can break after }; too

19 years agofix various comments
rsc [Fri, 8 Sep 2006 13:55:43 +0000 (13:55 +0000)]
fix various comments

19 years agorunoff changes
rsc [Fri, 8 Sep 2006 13:53:18 +0000 (13:53 +0000)]
runoff changes