summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-07-28exec argumentsrtm7-17/+89
2006-07-27primitive execrtm10-42/+243
2006-07-26updatertm1-2/+3
2006-07-21nameirtm7-11/+164
2006-07-21breadrtm12-32/+377
iget mkfs makes a file system image put this in your .bochsrc: ata0-slave: type=disk, mode=flat, path="fs.img", cylinders=1024, heads=1, spt=1
2006-07-20uint32_t -> uint &crtm17-271/+252
2006-07-18prevent longjmp / forkret from writing over tf->edirtm3-6/+9
2006-07-17add ide_lock for sleeprsc6-8/+41
2006-07-17standarize on unix-like lowercase struct namesrsc10-59/+59
2006-07-17no more cons_putc; real_cons_putc -> cons_putcrsc2-18/+7
2006-07-17add uint and standardize on typedefs instead of unsignedrsc15-82/+84
2006-07-17cleanerrsc1-2/+2
2006-07-17goodbye PushRegsrsc4-9/+6
2006-07-17cleanerrsc1-2/+2
2006-07-17nitpicksrsc11-32/+29
2006-07-16Eliminate annoying Pseudodesc structure.rsc6-107/+32
Eliminate unnecessary parts of mmu.h.
2006-07-16various little fixes that should have been in earlier checkinsrsc2-3/+0
2006-07-16more idiomatic crsc1-8/+5
2006-07-16no memlayout.hrsc1-1/+0
2006-07-16was empty; gonersc1-0/+0
2006-07-16fix main return typersc2-4/+7
2006-07-16add %s to cprintf for cons_putsrsc3-1/+23
2006-07-16Keep interrupts disabled during startup.rsc3-19/+32
2006-07-16standardize on not using foo_ prefix in struct foorsc10-180/+181
2006-07-16rename swtch.S to setjmp.Srsc1-0/+0
2006-07-16standardize on #include "foo" not <foo>rsc2-5/+5
2006-07-16add minimal comments to generator vector tablersc1-3/+6
2006-07-16remove acquire1 and release1rsc2-18/+4
2006-07-16add cons_puts for atomic (readable) outputrsc2-5/+41
2006-07-16Add user.h for prototypes.rsc6-6/+40
Add cons_puts for cleaner output.
2006-07-16tidy uprsc1-13/+24
2006-07-16Don't kill process when inside kernel.rsc1-3/+10
2006-07-16more name cleanuprsc2-10/+8
2006-07-16remove non-idiomatic increment/decrementrsc3-10/+3
2006-07-16Rename fd_reference to more suggestive fd_incref.rsc3-3/+3
(Fd_reference sounds like it might just return the ref count.)
2006-07-16Attempt to clean up newproc somewhat.rsc7-79/+98
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.rsc11-205/+224
Removed cli and sti stack in favor of tracking number of locks held on each CPU and explicit conditionals in spinlock.c.
2006-07-16Undo change from this morning that wasn't intended to get in.rsc1-1/+1
2006-07-15move everything having to do with proc_table_lock into proc.crsc4-47/+62
2006-07-15silence load_icode signedness warningrsc1-3/+3
2006-07-15Add void for ANSI Crsc1-13/+11
2006-07-15Change fetchint, fetcharg, and putint to return -1 on error, 0 on success.rsc1-5/+5
They had been returning 0 on error, 1 on success, but all the callers were checking for return value < 0.
2006-07-15no more recursive locksrtm15-102/+229
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
2006-07-12and the filekaashoek1-0/+204
2006-07-12extract lapic code from mp.ckaashoek4-206/+18
2006-07-12passes both usertestsrtm6-31/+34
exit had acquire where I meant release swtch now checks that you hold no locks
2006-07-12i think my cmpxchg use was wrong in acquirertm11-32/+85
nesting cli/sti: release shouldn't always enable interrupts separate setup of lapic from starting of other cpus, so cpu() works earlier flag to disable locking in console output make locks work even when curproc==0 (still crashes in clock interrupt)
2006-07-12cvs add spinlock.hrtm4-3/+17
fix race in schedule()
2006-07-12no more big kernel lockrtm15-95/+202
succeeds at usertests.c pipe test
2006-07-11give each cpu its own clock, so that preemption works on cpu 1rtm2-2/+4