A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Alex Ionescu da4ac0b789 - Fix some nasty context switch bugs:
* We did not update the KPCR's stacklimit/initialstack with the new thread's stacklimit/initialstack.
  * We always assumed V86 frame bias in KeInitializeThreadContext.
  * We did not properly update ESP0 during context switch, to make space for the NPX frame and V86 bias.
  * We did not update fs:18h to point to the new TEB.
  * We did not clear out GS when switching processes, nor update the TSS's cr3.
  * If a new LDT was being updated, we over-wrote EBP (which was supposed to point to the TSS) by the GDT pointer.
  * We used a push/pop esp0 hack which hid the fact we never updated esp0.

svn path=/trunk/; revision=20911
2006-01-16 02:21:22 +00:00
cis Handle access denied scenario 2005-12-13 18:56:49 +00:00
irc Different output for !bug command on the other channels. (#winehackers, #samba-technical) 2006-01-05 21:46:24 +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
posix Begin making the 'posix' module conform to rbuild. 2005-08-13 12:35:00 +00:00
reactos - Fix some nasty context switch bugs: 2006-01-16 02:21:22 +00:00
rosapps fixed gcc4 warnings 2006-01-04 14:26:06 +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