CVS: winex/msdos dpmi.c,1.5,1.6
[email protected] 12 Sep 2007 12:36:07 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/msdos dpmi.c,1.5,1.6Update of /var/lib/cvsd/cvsroot/winex/msdos
In directory agravaine:/tmp/cvs-serv11976/msdos
Modified Files:
dpmi.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: dpmi.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/msdos/dpmi.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- dpmi.c 7 Mar 2005 21:24:46 -0000 1.5
+++ dpmi.c 12 Sep 2007 12:36:05 -0000 1.6
@@ -204,9 +204,9 @@
* 16 bit stack will contain STACK16FRAME and single WORD
* (EFlags, see next comment).
*/
- NtCurrentTeb()->cur_stack =
- MAKESEGPTR( context->SegSs,
- context->Esp - sizeof(STACK16FRAME) - sizeof(WORD) );
+ NtCurrentTeb()->WOW32Reserved =
+ (void *)( MAKESEGPTR( context->SegSs,
+ context->Esp - sizeof(STACK16FRAME) - sizeof(WORD) ) );
/*
* After relay code returns to glue function, protected