Changeset 5090 for trunk/src/kernel32
- Timestamp:
- Feb 11, 2001, 11:35:29 AM (25 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/misc.cpp
r5036 r5090 1 /* $Id: misc.cpp,v 1. 29 2001-01-29 01:21:28 birdExp $ */1 /* $Id: misc.cpp,v 1.30 2001-02-11 10:34:44 sandervl Exp $ */ 2 2 3 3 /* … … 410 410 PUSHORT lock = (USHORT *)(teb->o.odin.logfile+0x1C); 411 411 #else 412 #if __IBMC__ >= 360 || __IBMCPP__ >= 360 413 //TODO: test this!!!!!!! 414 PUSHORT lock = (USHORT *)(teb->o.odin.logfile+0x1C); 415 #else 412 416 #error Check the offset of the lock count word in the file stream structure for this compiler revision!!!!! 417 #endif 413 418 #endif 414 419 if (state == ENTER_EXCEPTION) … … 445 450 lock = (PUSHORT)(teb->o.odin.logfile+0x1C); 446 451 #else 452 #if __IBMC__ >= 360 || __IBMCPP__ >= 360 453 //TODO: test this!!!!!!! 454 PUSHORT lock = (USHORT *)(teb->o.odin.logfile+0x1C); 455 #else 447 456 #error Check the offset of the lock count word in the file stream structure for this compiler revision!!!!! 457 #endif 448 458 #endif 449 459 (*lock)--; -
trunk/src/kernel32/thread.H
r3128 r5090 1 /* $Id: thread.H,v 1. 6 2000-03-16 19:20:40sandervl Exp $ */1 /* $Id: thread.H,v 1.7 2001-02-11 10:34:44 sandervl Exp $ */ 2 2 3 3 /* … … 12 12 #ifndef __THREAD_H__ 13 13 #define __THREAD_H__ 14 15 //Why the @#%@#$ didn't IBM use _stdcall??16 14 17 15 typedef DWORD (* WIN32API WIN32THREADPROC)(LPVOID); -
trunk/src/kernel32/thread.cpp
r4658 r5090 1 /* $Id: thread.cpp,v 1.2 6 2000-11-21 11:35:09sandervl Exp $ */1 /* $Id: thread.cpp,v 1.27 2001-02-11 10:34:45 sandervl Exp $ */ 2 2 3 3 /* … … 25 25 #include "thread.h" 26 26 #include <misc.h> 27 #include <cpuhlp.h> 27 28 #include <wprocess.h> 28 29 #include <windllbase.h> … … 132 133 133 134 //Set default FPU control word (no exceptions); same as in NT 134 _control87(0x27F, 0xFFF);135 CONTROL87(0x27F, 0xFFF); 135 136 rc = winthread(userdata); 136 137 -
trunk/src/kernel32/winexebase.cpp
r4440 r5090 1 /* $Id: winexebase.cpp,v 1.1 2 2000-10-06 11:04:01sandervl Exp $ */1 /* $Id: winexebase.cpp,v 1.13 2001-02-11 10:34:45 sandervl Exp $ */ 2 2 3 3 /* … … 27 27 #include <wprocess.h> 28 28 #include <pefile.h> 29 #include <cpuhlp.h> 29 30 #include "exceptions.h" 30 31 #include "exceptutil.h" … … 114 115 115 116 //Set default FPU control word (no exceptions); same as in NT 116 _control87(0x27F, 0xFFF); 117 #if 0 118 ULONG Size = 16, Attr; 119 rc = DosQueryMem((PVOID) (entryPoint), &Size, &Attr); 120 dprintf(("Start exe; Attr = %x, rc = %d", Attr, rc)); 121 #else 117 CONTROL87(0x27F, 0xFFF); 122 118 dprintf(("Start exe")); 123 #endif124 119 rc = ((WIN32EXEENTRY)entryPoint)(NULL); 125 120 RestoreOS2TIB();
Note:
See TracChangeset
for help on using the changeset viewer.