rtm
5be0039ce9
interrupts could be recursive since lapic_eoi() called before rti
...
so fast interrupts overflow the kernel stack
fix: cli() before lapic_eoi()
2006-08-10 22:08:14 +00:00
rtm
32630628a9
open()
2006-07-29 09:35:02 +00:00
rsc
b5ee516575
add uint and standardize on typedefs instead of unsigned
2006-07-17 01:52:13 +00:00
rsc
c54c79267f
nitpicks
2006-07-17 01:25:22 +00:00
rsc
84d79573da
more idiomatic c
2006-07-16 16:05:37 +00:00
rtm
8148b6ee53
i think my cmpxchg use was wrong in acquire
...
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-12 11:15:38 +00:00
rtm
4e8f237be8
no more big kernel lock
...
succeeds at usertests.c pipe test
2006-07-12 01:48:35 +00:00
rtm
b548df152b
pre-empt both user and kernel, in clock interrupt
...
usertest.c tests pre-emption
kill()
2006-07-11 17:39:45 +00:00
rtm
8b4e2a08fe
swtch saves callee-saved registers
...
swtch idles on per-CPU stack, not on calling process's stack
fix pipe bugs
usertest.c tests pipes, fork, exit, close
2006-07-01 21:26:01 +00:00
rtm
55e95b16db
import
2006-06-12 15:22:12 +00:00