A free Windows-compatible Operating System - mirrored from GitHub
Go to 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
os2
posix
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
vms