CVS: winex/scheduler thread.c,1.38,1.39
[email protected] 12 Sep 2007 12:32:25 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/scheduler thread.c,1.38,1.39Update of /var/lib/cvsd/cvsroot/winex/scheduler
In directory agravaine:/tmp/cvs-serv11083/scheduler
Modified Files:
thread.c
Log Message:
- changed TEB::cur_stack to TEB::WOW32Reserved. WOW32Reserved is now at offset 0xC0 (cur_stack was at 0x70). The old cur_stack has been renamed to 'unknown70'.
Index: thread.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/scheduler/thread.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- thread.c 12 Sep 2007 12:23:14 -0000 1.38
+++ thread.c 12 Sep 2007 12:32:23 -0000 1.39
@@ -260,7 +260,7 @@
teb->stack_sel = SELECTOR_AllocBlock( teb->stack_top, 0x10000, WINE_LDT_FLAGS_DATA );
if (!teb->stack_sel) goto error;
- teb->cur_stack = MAKESEGPTR( teb->stack_sel, 0x10000 - sizeof(STACK16FRAME) );
+ teb->WOW32Reserved = (void *)(MAKESEGPTR( teb->stack_sel, 0x10000 - sizeof(STACK16FRAME) ));
return teb;