Changeset 4065 for branches/Grace/src
- Timestamp:
- Aug 22, 2000, 12:59:40 AM (25 years ago)
- Location:
- branches/Grace/src/win32k/ldr
- Files:
-
- 1 added
- 2 edited
-
myldrClose.cpp (modified) (3 diffs)
-
mytkExecPgm.asm (modified) (3 diffs)
-
mytkStartProcess.asm (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/Grace/src/win32k/ldr/myldrClose.cpp
r3834 r4065 1 /* $Id: myldrClose.cpp,v 1.5.4. 1 2000-07-16 22:43:35bird Exp $1 /* $Id: myldrClose.cpp,v 1.5.4.2 2000-08-21 22:59:39 bird Exp $ 2 2 * 3 3 * myldrClose - ldrClose … … 31 31 #include "ldrCalls.h" 32 32 #include "ModuleBase.h" 33 #include "Pe2Lx.h" 33 34 34 35 … … 63 64 #pragma info(restore) 64 65 } 66 /* 67 * Invalidate the odin32path if kernel32 is closed. 68 * (Might possible not be needed as Pe2Lx does invalides 69 * the odin32path on object destruction.) 70 */ 71 else if (Pe2Lx::getKernel32SFN() == hFile) 72 Pe2Lx::invalidateOdin32Path(); 65 73 74 /* 75 * Finally call the real close function. 76 */ 66 77 return ldrClose(hFile); 67 78 } -
branches/Grace/src/win32k/ldr/mytkExecPgm.asm
r4046 r4065 1 ; $Id: mytkExecPgm.asm,v 1.10.4. 3 2000-08-19 14:37:16bird Exp $1 ; $Id: mytkExecPgm.asm,v 1.10.4.4 2000-08-21 22:59:40 bird Exp $ 2 2 ; 3 3 ; mytkExecPgm - tkExecPgm overload … … 23 23 24 24 ; 25 ; Imported Functions 25 ; Imported Functions and variables. 26 26 ; 27 27 extrn _g_tkExecPgm:PROC … … 326 326 ASSUME ds:FLAT, es:FLAT ; both ds and es are now FLAT 327 327 328 ; 329 ; Clear loader state, current exe module and tkExecPgm global data flag. 330 ; 328 329 ; 330 ; Clear loader semaphore. 331 ; and clear loader state, current exe module and tkExecPgm global data flag. 332 ; 333 cmp fLdrSemTaken, 0 ; is the semaphore still taken? 334 je tkepgm_callbehindret ; jmp if not taken. 331 335 mov ulLDRState, 0 ; Clears loaderstate. (LDRSTATE_UNKNOWN) 332 336 mov pExeModule, 0 ; Sets the exemodule pointer to NULL. 333 337 mov fTkExecPgm, 0 ; Marks global data invalid. 334 335 ; 336 ; Clear loader semaphore. 337 ; 338 cmp fLdrSemTaken, 0 ; is the semaphore still taken? 339 je tkepgm_callbehindret ; jmp if not taken. 338 call near ptr FLAT:_LDRClearSem@0 340 339 mov fLdrSemTaken, 0 ; Loader semaphore is not taken any longer! 341 call near ptr FLAT:_LDRClearSem@0342 340 343 341 ;
Note:
See TracChangeset
for help on using the changeset viewer.
