- Timestamp:
- Jun 27, 2001, 9:09:36 PM (24 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptutil.asm
r5564 r6133 1 ; $Id: exceptutil.asm,v 1.1 6 2001-04-22 09:00:19sandervl Exp $1 ; $Id: exceptutil.asm,v 1.17 2001-06-27 19:09:35 sandervl Exp $ 2 2 3 3 ;/* … … 266 266 ret 267 267 _AsmCallThreadHandler endp 268 269 PUBLIC _CallEntryPoint 270 _CallEntryPoint proc near 271 push ebp 272 mov ebp, esp 273 274 mov eax, esp 275 sub eax, 16 276 and eax, 0FFFFFFF0h 277 add eax, 4 278 mov esp, eax 279 280 push dword ptr [ebp+12] 281 mov eax, dword ptr [ebp+8] 282 call eax 283 284 mov esp, ebp 285 pop ebp 286 ret 287 _CallEntryPoint endp 288 268 289 269 290 ; 281 static DWORD EXC_CallHandler( WINEXCEPTION_RECORD *record, WINEXCEPTION_FRAME *frame, -
trunk/src/kernel32/exceptutil.h
r5354 r6133 1 /* $Id: exceptutil.h,v 1.1 1 2001-03-22 18:16:41sandervl Exp $ */1 /* $Id: exceptutil.h,v 1.12 2001-06-27 19:09:35 sandervl Exp $ */ 2 2 3 3 /* … … 47 47 ULONG CDECL AsmCallThreadHandler(ULONG handler, LPVOID parameter); 48 48 49 DWORD CDECL CallEntryPoint(DWORD entryPoint, DWORD parameter); 50 49 51 #ifdef __cplusplus 50 52 } -
trunk/src/kernel32/thread.cpp
r6132 r6133 1 /* $Id: thread.cpp,v 1.3 0 2001-06-27 15:34:41sandervl Exp $ */1 /* $Id: thread.cpp,v 1.31 2001-06-27 19:09:35 sandervl Exp $ */ 2 2 3 3 /* … … 132 132 Win32DllBase::attachThreadToAllDlls(); //send DLL_THREAD_ATTACH message to all dlls 133 133 134 //SvL: Leave this here. For some weird reason this affects performance135 // of floating point apps. (at least for one fortan benchmark)136 double tmp;137 134 //Set FPU control word to 0x27F (same as in NT) 138 135 CONTROL87(0x27F, 0xFFF); -
trunk/src/kernel32/winexebase.cpp
r6132 r6133 1 /* $Id: winexebase.cpp,v 1.1 7 2001-06-27 15:34:42sandervl Exp $ */1 /* $Id: winexebase.cpp,v 1.18 2001-06-27 19:09:36 sandervl Exp $ */ 2 2 3 3 /* … … 110 110 SetWin32TIB(); 111 111 112 //SvL: Leave this here. For some weird reason this affects performance113 // of floating point apps. (at least for one fortan benchmark)114 double tmp;115 112 //Set FPU control word to 0x27F (same as in NT) 116 113 CONTROL87(0x27F, 0xFFF); 117 114 dprintf(("KERNEL32: Win32ExeBase::start exe at %08xh\n", 118 115 (void*)entryPoint )); 119 rc = ((WIN32EXEENTRY)entryPoint)(NULL);116 rc = CallEntryPoint(entryPoint, NULL); 120 117 RestoreOS2TIB(); 121 118
Note:
See TracChangeset
for help on using the changeset viewer.