- Jan 11, 2011
-
-
Russ Cox authored
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.
-
- Sep 13, 2010
-
-
Robert Morris authored
delete most comments from bootother.S (since copy of bootasm.S) ksegment() -> seginit() move more stuff from main() to mainc()
-
- Sep 02, 2010
-
-
Austin Clements authored
Simplify allocuvm/deallocuvm to operate in a contiguous memory model. This makes their interface match up better with proc->sz and also simplifies the callers (it even gets the main body of exec on one page).
-
Austin Clements authored
-
Austin Clements authored
-
Austin Clements authored
Rearrange proc.h and proc.c to get our action-packed spreads back (mostly). They also make sense in this order, so it's not just for page layout.
-
- Aug 31, 2010
-
-
Austin Clements authored
-
Austin Clements authored
-
Robert Morris authored
do not keep sorted contiguous free list
-
- Aug 10, 2010
-
-
Robert Morris authored
-
- Aug 06, 2010
-
-
Robert Morris authored
put an invalid page below the stack have fork() handle invalid pages
-
- Aug 05, 2010
-
-
Robert Morris authored
fix corner cases with alignment when mapping kernel ELF file
-
- Jul 25, 2010
-
-
Frans Kaashoek authored
-
- Jul 23, 2010
-
-
Frans Kaashoek authored
Includes code for TLB shootdown (which actually seems unnecessary for xv6)
-
- Jul 02, 2010
-
-
Frans Kaashoek authored
-
- Sep 20, 2009
-
-
Frans Kaashoek authored
-
- Sep 03, 2009
-
-
Russ Cox authored
-
- Sep 02, 2009
- Aug 30, 2009
-
-
Russ Cox authored
* rename c/cp to cpu/proc * rename cpu.context to cpu.scheduler * fix some comments * formatting for printout
-
- Aug 08, 2009
-
-
Russ Cox authored
pdf has very good page breaks now. would be a good copy for fall 2009.
-
- Jul 12, 2009
-
-
Russ Cox authored
-
- Jul 11, 2009
-
-
Russ Cox authored
-
- May 30, 2009
- Mar 08, 2009
-
-
rsc authored
-
- Oct 14, 2008
- Sep 11, 2008
-
-
rtm authored
-
- Aug 28, 2008
-
-
rtm authored
-
- Aug 27, 2008
-
-
rtm authored
-
- Oct 20, 2007
-
-
rtm authored
-
- Sep 27, 2007
-
-
rsc authored
Final word on the locking fiasco? Change pushcli / popcli so that they can never turn on interrupts unexpectedly. That is, if interrupts are on, then pushcli(); popcli(); turns them off and back on, but if they are off to begin with, then pushcli(); popcli(); is a no-op. I think our fundamental mistake was having a primitive (release and then popcli nee spllo) that could turn interrupts on at unexpected moments instead of being explicit about when we want to start allowing interrupts. With the new semantics, all the manual fiddling of ncli to force interrupts off in certain sections goes away. In return, we must explicitly mark the places where we want to enable interrupts unconditionally, by calling sti(). There is only one: inside the scheduler loop.
-
rsc authored
-
rsc authored
-