marcel
8ff698074b
Move the machine specific files from sys/Makefile.inc and put them
...
in a machine specific makefile. While here, sort the sub-directories
in Makefile and remove _atomic_lock.S from all makefiles.
2003-06-23 04:28:31 +00:00
deischen
63fd7f7479
Move the mailbox to the beginning of the thread and align the
...
thread so that the context (SSE FPU state) is also aligned.
2003-04-30 15:05:17 +00:00
deischen
d729efd111
Sorry folks; I accidentally committed a patch from what I was working
...
on a couple of days ago. This should be the most recent changes.
Noticed by: davidxu
2003-04-18 07:09:43 +00:00
deischen
9fe0b6bde6
Add architecture dependent atomic ops (atomic_swap only), KSE specific
...
data, and userland versions of [gs]etcontext().
Modify the UTS entry and exit functions to account of FPU validity
and format.
2003-04-18 05:00:52 +00:00
davidxu
ed0591ed98
In _thread_enter_uts, fix eflags saving bug.
...
In _thread_switch, set current thread pointer in kse mailbox
only after all registers copied out of thread mailbox, kernel will do
upcall at trap time, if set current thread pointer before loading all
registers from thread mailbox, at trap time, the thread mailbox data
will be overwritten by kernel, result is junk data is loaded into CPU.
2002-11-22 11:43:06 +00:00
davidxu
93f8f962e2
Adjust code for new mailbox format.
...
Reviewed by: deischen, mini
2002-11-18 02:02:08 +00:00
mini
ee4068ef29
Use KSE to schedule threads.
2002-10-30 06:07:18 +00:00