Changeset 7811 for trunk/src/kernel32/winexebase.cpp
- Timestamp:
- Feb 6, 2002, 5:33:40 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winexebase.cpp
r6133 r7811 1 /* $Id: winexebase.cpp,v 1.1 8 2001-06-27 19:09:36sandervl Exp $ */1 /* $Id: winexebase.cpp,v 1.19 2002-02-06 16:33:38 sandervl Exp $ */ 2 2 3 3 /* … … 108 108 // in OS/2 109 109 OS2SetExceptionHandler((void *)&exceptFrame); 110 SetWin32TIB();110 USHORT sel = SetWin32TIB(isPEImage() ? TIB_SWITCH_FORCE_WIN32 : TIB_SWITCH_DEFAULT); 111 111 112 112 //Set FPU control word to 0x27F (same as in NT) … … 115 115 (void*)entryPoint )); 116 116 rc = CallEntryPoint(entryPoint, NULL); 117 RestoreOS2TIB(); 117 118 SetFS(sel); //restore FS 118 119 119 120 OS2UnsetExceptionHandler((void *)&exceptFrame);
Note:
See TracChangeset
for help on using the changeset viewer.