summaryrefslogtreecommitdiff
path: root/proc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-08-08check p->killed for long-lived sleepsrsc1-1/+1
2007-08-08cleaner tablersc1-1/+1
2007-08-08cleaner tablersc1-9/+9
2007-08-08iincref returns new refrsc1-2/+1
2007-08-08add DPL_USER constantrsc1-2/+2
2007-08-08fix various bugsrsc1-2/+9
2007-08-08comment tweaks; more informative process listrsc1-3/+17
2006-09-08move growproc up higherrsc1-20/+21
2006-09-08fix various commentsrsc1-1/+1
2006-09-07check preconditions in schedrsc1-0/+5
2006-09-07debugging printsrsc1-0/+16
2006-09-07more commentsrsc1-1/+4
2006-09-07more defensive programmingrsc1-1/+4
2006-09-06fd_* => file_*rsc1-2/+2
2006-09-06fd.* -> file.*rsc1-1/+1
2006-09-06struct fd -> struct filersc1-6/+6
2006-09-06no /* */ commentsrsc1-5/+4
2006-09-06standardize various * conventionsrsc1-18/+18
2006-09-06clear np->mem after freeingrsc1-0/+1
2006-09-06some pipe support in shkaashoek1-2/+2
bug in proc_wait
2006-08-30complain if no disk 1rtm1-1/+1
lots of cleanup
2006-08-29nitsrtm1-9/+5
2006-08-29clear killed flag in exitrtm1-0/+4
idecref cwd in exit
2006-08-29prune unneeded panics and debug outputrtm1-28/+1
2006-08-29i broke sbrk, fix itrtm1-3/+3
2006-08-29clean up stale error checks and panicsrtm1-4/+4
delete unused functions a few comments
2006-08-24bug in sbrkkaashoek1-3/+2
test malloc
2006-08-24user-level malloc (untested)kaashoek1-4/+5
nit in sbrk indirect block fix dup to share fd struct
2006-08-23i/o redirection in shkaashoek1-0/+18
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?
2006-08-19chdirkaashoek1-2/+2
cd in shell nits in mkdir, ls, etc.
2006-08-15no more proc[] entry per cpu for idle looprtm1-39/+30
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
2006-08-15commented out code for cwdkaashoek1-0/+3
2006-08-13link()rtm1-3/+0
2006-08-10interrupts could be recursive since lapic_eoi() called before rtirtm1-2/+14
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-08fix race in holding() check in acquire()rtm1-4/+6
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-07-29open()rtm1-2/+4
2006-07-27primitive execrtm1-0/+3
2006-07-18prevent longjmp / forkret from writing over tf->edirtm1-1/+1
2006-07-17add ide_lock for sleeprsc1-0/+12
2006-07-17standarize on unix-like lowercase struct namesrsc1-3/+3
2006-07-17add uint and standardize on typedefs instead of unsignedrsc1-6/+6
2006-07-17goodbye PushRegsrsc1-1/+1
2006-07-17nitpicksrsc1-1/+1
2006-07-16Eliminate annoying Pseudodesc structure.rsc1-4/+3
Eliminate unnecessary parts of mmu.h.
2006-07-16standardize on not using foo_ prefix in struct foorsc1-11/+11
2006-07-16Rename fd_reference to more suggestive fd_incref.rsc1-1/+1
(Fd_reference sounds like it might just return the ref count.)
2006-07-16Attempt to clean up newproc somewhat.rsc1-51/+67
Also remove all calls to memcpy in favor of memmove, which has defined semantics when the ranges overlap. The fact that memcpy was working in console.c to scroll the screen is not guaranteed by all implementations.
2006-07-16New scheduler.rsc1-153/+168
Removed cli and sti stack in favor of tracking number of locks held on each CPU and explicit conditionals in spinlock.c.
2006-07-15move everything having to do with proc_table_lock into proc.crsc1-0/+50
2006-07-15no more recursive locksrtm1-23/+52
wakeup1() assumes you hold proc_table_lock sleep(chan, lock) provides atomic sleep-and-release to wait for condition ugly code in swtch/scheduler to implement new sleep fix lots of bugs in pipes, wait, and exit fix bugs if timer interrupt goes off in schedule() console locks per line, not per byte