Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-09-11 | Straight replacement of B_BUSY with a sleeping lock. | Frans Kaashoek | 1 | -2/+3 | |
2016-08-25 | Remove trailing white space with: | Frans Kaashoek | 1 | -11/+11 | |
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick) | |||||
2016-08-18 | Small change to support RWMUL and WRMUL. Now xv6 truly works with a block size | Frans Kaashoek | 1 | -3/+7 | |
that is a multiple of the sector size. | |||||
2015-04-10 | check blockno passed to idestart | Frans Kaashoek | 1 | -1/+3 | |
2015-04-03 | Disentangle block size from the disk's sector size. Set block size to 1024 ↵ | Frans Kaashoek | 1 | -7/+13 | |
to show that they can be different. Clean up mkfs, simplifying specifying fs parameters, remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks in the file system blocks instead of sectors. Passes usertests for different block sizes. | |||||
2012-08-28 | make the book happy | Robert Morris | 1 | -2/+2 | |
2011-10-11 | clarify some FS comments | Robert Morris | 1 | -4/+3 | |
2011-08-29 | Revert "Introduce and use sleeplocks instead of BUSY flags" | Frans Kaashoek | 1 | -1/+1 | |
My changes have a race with re-used bufs and the code doesn't seem to get shorter Keep the changes that fixed ip->off race This reverts commit 3a5fa7ed9020eaf8ab843a16d26db7393b2ec072. Conflicts: defs.h file.c file.h | |||||
2011-08-26 | Introduce and use sleeplocks instead of BUSY flags | Frans Kaashoek | 1 | -1/+1 | |
Remove I_BUSY, B_BUSY, and intrans defs and usages One spinlock per buf to avoid ugly loop in bget fix race in filewrite (don't update f->off after releasing lock) | |||||
2011-08-25 | Make cross reference with text work | Frans Kaashoek | 1 | -2/+2 | |
2011-07-29 | Map kernel high | Frans Kaashoek | 1 | -0/+1 | |
Very important to give qemu memory through PHYSTOP :( | |||||
2011-02-19 | xv6: formatting, cleanup, rev5 (take 2) | Russ Cox | 1 | -1/+1 | |
2011-01-11 | make new code like old code | Russ Cox | 1 | -2/+2 | |
Variable declarations at top of function, separate from initialization. Use == 0 instead of ! for checking pointers. Consistent spacing around {, *, casts. Declare 0-parameter functions as (void) not (). Integer valued functions return -1 on failure, 0 on success. | |||||
2010-07-02 | Initial version of single-cpu xv6 with page tables | Frans Kaashoek | 1 | -1/+2 | |
2009-08-30 | assorted fixes: | Russ Cox | 1 | -1/+1 | |
* rename c/cp to cpu/proc * rename cpu.context to cpu.scheduler * fix some comments * formatting for printout | |||||
2009-05-31 | group locks into structs they protect. | rsc | 1 | -2/+2 | |
few naming nits. | |||||
2009-05-31 | ide.c: make names more regular | rsc | 1 | -23/+26 | |
2009-03-08 | be consistent: no underscores in function names | rsc | 1 | -17/+17 | |
2007-08-30 | make new Homework 8 work | rtm | 1 | -1/+0 | |
2007-08-28 | comments; rename irq_ to pic_ | rsc | 1 | -1/+1 | |
2007-08-28 | spaces around else for rtm | rsc | 1 | -1/+1 | |
2007-08-28 | nits | rsc | 1 | -3/+3 | |
2007-08-28 | comment non-check of cp->killed | rsc | 1 | -0/+1 | |
2007-08-27 | delete unnecessary #include lines | rsc | 1 | -1/+1 | |
2007-08-27 | Another attempt at the bio.c comment. | rsc | 1 | -6/+11 | |
Rename B_WRITE to B_DIRTY and then let ide.c maintain the B_VALID and B_DIRTY flags. | |||||
2007-08-24 | minor cleanups | rsc | 1 | -68/+62 | |
2007-08-24 | comment nits | rtm | 1 | -6/+1 | |
2007-08-24 | simplify ide queuing | rtm | 1 | -66/+51 | |
nits in comments | |||||
2007-08-14 | formatting, sleep bug fix | rsc | 1 | -1/+7 | |
2007-08-14 | ide_write unused => gone | rsc | 1 | -27/+0 | |
2006-09-08 | move ide_intr lower | rsc | 1 | -9/+9 | |
2006-09-07 | fix disk bug | rsc | 1 | -0/+3 | |
2006-09-07 | fix ide, pit interfaces | rsc | 1 | -33/+35 | |
2006-09-07 | comments | rsc | 1 | -0/+7 | |
2006-09-07 | run without lapic and ioapic, if they are not present | kaashoek | 1 | -0/+1 | |
if no lapic available, use 8253pit for clock now xv6 runs both on qemu (uniprocessor) and bochs (uniprocessor and MP) | |||||
2006-09-06 | more named constants | rsc | 1 | -6/+10 | |
2006-09-06 | more tabs go away | rsc | 1 | -2/+2 | |
2006-09-06 | no /* */ comments | rsc | 1 | -5/+3 | |
2006-09-06 | standardize various * conventions | rsc | 1 | -16/+16 | |
2006-09-06 | spacing fixes: no tabs, 2-space indents (for rtm) | rsc | 1 | -4/+5 | |
2006-09-03 | remove duplication | kaashoek | 1 | -0/+1 | |
don't use the same name for two different pieces of code | |||||
2006-08-30 | complain if no disk 1 | rtm | 1 | -20/+8 | |
lots of cleanup | |||||
2006-08-13 | link() | rtm | 1 | -2/+0 | |
2006-08-10 | interrupts could be recursive since lapic_eoi() called before rti | rtm | 1 | -2/+2 | |
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi() | |||||
2006-08-10 | low-level keyboard input (not hooked up to /dev yet) | rtm | 1 | -1/+1 | |
fix acquire() to cli() *before* incrementing nlock make T_SYSCALL a trap gate, not an interrupt gate sadly, various crashes if you hold down a keyboard key... | |||||
2006-08-09 | iread for T_DEV | kaashoek | 1 | -1/+1 | |
O_RDWR, etc. create file | |||||
2006-08-08 | fix race in holding() check in acquire() | rtm | 1 | -2/+2 | |
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-07 | bwrite | kaashoek | 1 | -8/+10 | |
2006-08-06 | generalize async read to support write too | kaashoek | 1 | -8/+13 | |
2006-08-04 | better interrupt plan---this one appears to work | kaashoek | 1 | -2/+6 | |
ioapic |