Ignore:
Timestamp:
Sep 27, 2001, 5:08:35 AM (24 years ago)
Author:
bird
Message:

Win32k/kKrnlLib splittup: done the major stuff.

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:55 bird Exp $
     1; $Id: mytkStartProcess.asm,v 1.4.2.1 2001-09-27 03:08:29 bird Exp $
    22;
    33; tkStartProcess overloader. Needed to clear the loader semaphore
    44; when a process is being started syncronously.
    55;
    6 ; Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
     6; Copyright (c) 2000-2001 knut st. osmundsen (kosmunds@csc.no)
    77;
    88; Project Odin Software License can be found in LICENSE.TXT
     
    2424    ; LDR semaphore
    2525    ;
    26     extrn pLdrSem:DWORD
     26    extrn _LdrSem:DWORD
    2727    extrn _LDRClearSem@0:PROC
    2828    extrn _KSEMQueryMutex@8:PROC
     
    4646    ; TKSSBase (32-bit)
    4747    ;
    48     extrn pulTKSSBase32:DWORD
     48    extrn _TKSSBase:DWORD
    4949
    5050    ;
     
    8383
    8484    push    0                           ; Usage count variable.
    85     mov     eax, pulTKSSBase32          ; Get TKSSBase
    86     mov     eax, [eax]
     85    mov     eax, _TKSSBase              ; Get TKSSBase
    8786    add     eax, esp                    ; Added TKSSBase to the usage count pointer
    8887    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).
    9089    call    _KSEMQueryMutex@8
    9190    or      eax, eax                    ; Check return code. (1 = our / free; 0 = not our but take)
Note: See TracChangeset for help on using the changeset viewer.