Changeset 6841 for branches/splittup/src/win32k/ldr/mytkStartProcess.asm
- Timestamp:
- Sep 27, 2001, 5:08:35 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/splittup/src/win32k/ldr/mytkStartProcess.asm
r5247 r6841 1 ; $Id: mytkStartProcess.asm,v 1.4 2001-02-23 02:57:55bird Exp $1 ; $Id: mytkStartProcess.asm,v 1.4.2.1 2001-09-27 03:08:29 bird Exp $ 2 2 ; 3 3 ; tkStartProcess overloader. Needed to clear the loader semaphore 4 4 ; when a process is being started syncronously. 5 5 ; 6 ; Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)6 ; Copyright (c) 2000-2001 knut st. osmundsen (kosmunds@csc.no) 7 7 ; 8 8 ; Project Odin Software License can be found in LICENSE.TXT … … 24 24 ; LDR semaphore 25 25 ; 26 extrn pLdrSem:DWORD26 extrn _LdrSem:DWORD 27 27 extrn _LDRClearSem@0:PROC 28 28 extrn _KSEMQueryMutex@8:PROC … … 46 46 ; TKSSBase (32-bit) 47 47 ; 48 extrn pulTKSSBase32:DWORD48 extrn _TKSSBase:DWORD 49 49 50 50 ; … … 83 83 84 84 push 0 ; Usage count variable. 85 mov eax, pulTKSSBase32 ; Get TKSSBase 86 mov eax, [eax] 85 mov eax, _TKSSBase ; Get TKSSBase 87 86 add eax, esp ; Added TKSSBase to the usage count pointer 88 87 push eax ; Push address of usage count pointer. 89 push pLdrSem; Push pointer to loader semaphore ( = handle).88 push offset _LdrSem ; Push pointer to loader semaphore ( = handle). 90 89 call _KSEMQueryMutex@8 91 90 or eax, eax ; Check return code. (1 = our / free; 0 = not our but take)
Note:
See TracChangeset
for help on using the changeset viewer.
