A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Alex Ionescu 2ea699f94e - Assert that the current CPU is the one the thread is supposed to be running on.
- Get CR0, read the KTHREAD NPX State, disable interrupts and verify if the NPX state is dirty. If it is, then reload CR0 with the new value. Re-enable interrupts. This sequence should make FPU work during context switching, but I haven't tested yet. At the very least, it should get rid of TRAP_FAULT_UNKNOWN blue screen.
- Set TEB in the same time as the selector is being configured, not way earlier.

svn path=/trunk/; revision=24184
2006-09-18 00:30:30 +00:00
cis Handle access denied scenario 2005-12-13 18:56:49 +00:00
irc modified Resources/hresult.xml 2006-09-09 10:53:28 +00:00
msvc6 Initial revision 2004-02-06 08:21:52 +00:00
os2 OS/2: more changes to make it conform to rbuild. 2005-08-12 20:55:07 +00:00
reactos - Assert that the current CPU is the one the thread is supposed to be running on. 2006-09-18 00:30:30 +00:00
rosapps Fix inconsistent formatting and other trails of GreatLord's fixing 2006-09-10 20:12:16 +00:00
rosky Make the 'rosky' optional module compile. 2005-08-12 13:46:36 +00:00
vms Modify to conform to the new CSR. 2005-10-02 19:31:30 +00:00