summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-31missed this file in last checkinrsc1-1/+6
2009-05-31Some proc cleanup, moving some of copyproc into allocproc.rsc9-118/+147
Also, an experiment: use "thread-local" storage for c and cp instead of the #define macro for curproc[cpu()].
2009-05-31move T_DIR etc into stat.h; move type uprsc3-5/+6
2009-05-31Add serial port input/output.rsc4-23/+87
Delete parallel port output. Works well with qemu -nographic mode.
2009-05-31slight rearrangement; sleep on b not buf.rsc1-8/+8
2009-05-26Add MIT license file; update xv6-rev2.tar.gz with LICENSE.rsc3-0/+26
Other files unchanged.
2009-03-08be consistent: no underscores in function namesrsc15-136/+121
2009-03-08xv6: boot loader adjustmentsrsc4-31/+41
do Bochs breakpoint and spin in bootasm.S. not needed in bootmain too. fix readseg bug (rounding of va). zero segments when memsz > filesz. no need to clear BSS in kernel main. make bootother.S like bootasm.S
2009-03-08xv6: use stosb for memsetrsc2-11/+4
2009-03-08xv6/x86.h: add stosb, fix bugs in insl/outsl (rep not repne)rsc1-2/+11
2009-03-08xv6/x86.h: inline assembly cleanuprsc1-8/+8
2008-10-20Explain why itrunc() is OK w.r.t. crashes.rtm1-0/+2
2008-10-17try harder to get directory refcounts rightkolya1-2/+8
2008-10-16make mkdir crash-safer, as noticed by many students on midtermkolya1-7/+11
2008-10-16free the indirect blockkolya1-0/+1
2008-10-15as rtm noticed, avoid doubly-freeing pipe pagekolya1-3/+4
2008-10-15indentkolya1-19/+19
2008-10-15cleaner swtch.Skolya4-41/+31
2008-10-15save cpus.intena in sched(), so we get the right EFLAGS.IF value once akolya1-1/+5
timer-preempted kernel thread resumes execution in trap() after yield(). otherwise the kernel could get an arbitrary number of nested timer intrs.
2008-10-15check cp->killed before returning to user from a timer interruptkolya1-0/+4
2008-10-15update .cvsignorekolya1-0/+2
2008-10-12minor cleanupkolya2-3/+3
2008-10-12minor cleanup with STUB macrokolya1-1/+3
2008-10-12include explicitly initialized globals (int x = 0;) in cross-refs,kolya2-5/+2
also thanks to greg price.
2008-10-12fix: when two names only differed in case, crossrefs only included one of them.kolya1-1/+1
thanks to greg price.
2008-10-08be clear what the root i-number isrtm3-2/+3
2008-09-28document lock->locked=0 vs xchg(&lock->locked, 0)rtm1-4/+8
2008-09-24trap 9 does not push ec: fix from Greg Price <[email protected]>kolya1-1/+1
2008-09-24always save and restore %fs, %gs to ensure old segment entries are neverkolya2-4/+12
accessible to user from the hidden CPU segment registers.
2008-09-11restore std toolprefixrtm2-2/+2
2008-09-11omit *.d from tar filertm3-3/+2
2008-09-09add copyright noticekaashoek1-1/+2
2008-09-03make bochsrc work for bochs 2.2.6kolya2-1/+1
2008-09-03make pdf, ps, tarballkolya3-12454/+12697
2008-09-03nits in index.txtkaashoek9-13/+19
add slides for shell, x86 intro, x86 virtual memory (deleted JOS from slides)
2008-09-03DO NOT MAIL: xv6 web pagesrsc37-0/+9034
2008-08-28simplify growprocrtm1-3/+2
2008-08-28avoid a bug w/ exit()rtm1-0/+1
2008-08-28the old explanation of AP startup might have been correct, butrtm1-9/+10
I understand this one.
2008-08-22clean up circular buffers, so pipe can queue 512 bytes rather than 511kolya2-14/+12
2008-08-21fix obvious printf nits after reading through codekolya2-2/+2
2008-08-20now rev2rsc1-1/+1
2008-08-20add nice fontrsc2-1/+704
2008-08-20formatting updatesrsc2-43/+33
2008-08-20bochs fasterrsc1-1/+1
2008-08-20xv6: latest (as of January 2008)rsc2-0/+0
2007-12-20oops - wrong bit (vic zandy)rsc1-1/+1
2007-11-28fork minibugrsc2-1/+27
2007-11-28More complete lapic startup (thanks Silas)rsc1-8/+26
2007-11-28bda[0xE] is a 16-bit segment number,rsc1-1/+1
not a real address. So shift 4. Reported by Silas. Jim McKie says this code only matters on ancient EISA MP systems.