]> Zhao Yanbai Git Server - minix.git/commit
thanks to tomas: fix for level0() race condition - global variable can
authorBen Gras <ben@minix3.org>
Mon, 5 Oct 2009 15:22:31 +0000 (15:22 +0000)
committerBen Gras <ben@minix3.org>
Mon, 5 Oct 2009 15:22:31 +0000 (15:22 +0000)
commit30804b9ed7e915adffbc1b39370ba049383a3869
tree1cffd750d86eab6025d0f558c7e15dbf1363b8ff
parent88a12c70d2d1dab1e238057330357f3a5e77ece0
thanks to tomas: fix for level0() race condition - global variable can
be used concurrently.  pass the function in eax instead; this gets rid
of the global variable.  also execute the function directly if we're
already trapped into the kernel.

revert of u32_t endpoint_t to int (some code assumes endpoints are
negative for negative slot numbers).
kernel/arch/i386/klib386.s
kernel/arch/i386/memory.c
kernel/arch/i386/mpx386.s
kernel/arch/i386/proto.h
kernel/glo.h