Changeset 4076 for branches/Grace/src


Ignore:
Timestamp:
Aug 24, 2000, 3:36:29 AM (25 years ago)
Author:
bird
Message:

Tested and corrected bugs.

Location:
branches/Grace/src/win32k
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/Grace/src/win32k/ldr/mytkExecPgm.asm

    r4068 r4076  
    1 ; $Id: mytkExecPgm.asm,v 1.10.4.5 2000-08-22 03:00:21 bird Exp $
     1; $Id: mytkExecPgm.asm,v 1.10.4.6 2000-08-24 01:36:25 bird Exp $
    22;
    33; mytkExecPgm - tkExecPgm overload
     
    337337    push    eax                         ; Push address of usage count pointer.
    338338    push    pLdrSem                     ; Push pointer to loader semaphore ( = handle).
    339     call    _KSEMQueryMutex@8
     339    call    near ptr FLAT:_KSEMQueryMutex@8
    340340    or      eax, eax                    ; Check return code. (1 = our / free; 0 = not our but take)
    341     je      tkepgm_callbehindret        ; jmp if not taken by us (FALSE).
    342341    pop     eax                         ; Pops usage count.
     342    je      tkepgm_callbehindret        ; jmp if not taken by us (rc=FALSE).
    343343    or      eax, eax                    ; Check usage count.
    344344    jz      tkepgm_callbehindret        ; jmp if 0 (=free).
  • branches/Grace/src/win32k/ldr/mytkStartProcess.asm

    r4073 r4076  
    1 ; $Id: mytkStartProcess.asm,v 1.1.2.3 2000-08-23 04:25:44 bird Exp $
     1; $Id: mytkStartProcess.asm,v 1.1.2.4 2000-08-24 01:36:26 bird Exp $
    22;
    33; tkStartProcess overloader. Needed to clear the loader semaphore
     
    7272; @remark
    7373mytkStartProcess PROC NEAR
    74     ASSUME CS:CODE32, DS:FLAT, ES:NOTHING, SS:NOTHING
     74    ASSUME DS:FLAT, ES:NOTHING, SS:NOTHING
    7575
    7676    ;
     
    8888    push    eax                         ; Push address of usage count pointer.
    8989    push    pLdrSem                     ; Push pointer to loader semaphore ( = handle).
    90     call    _KSEMQueryMutex@8
     90    call    near ptr FLAT:_KSEMQueryMutex@8
    9191    or      eax, eax                    ; Check return code. (1 = our / free; 0 = not our but take)
    92     jz      mtksp_ret                   ; jmp if not taken by us (FALSE).
    9392    pop     eax                         ; Pops usage count.
     93    jz      mtksp_ret                   ; jmp if not taken by us (rc=FALSE).
    9494    or      eax, eax                    ; Check usage count.
    9595    jz      mtksp_ret                   ; jmp if 0 (=free).
     
    105105    pop     ecx
    106106    pop     eax
    107     jmp     _tkStartProcess
     107    jmp     near ptr FLAT:_tkStartProcess
    108108mytkStartProcess ENDP
    109109
  • branches/Grace/src/win32k/test/fakea.asm

    r4073 r4076  
    1 ; $Id: fakea.asm,v 1.1.4.3 2000-08-23 04:25:46 bird Exp $
     1; $Id: fakea.asm,v 1.1.4.4 2000-08-24 01:36:29 bird Exp $
    22;
    33; Fake assembly imports.
     
    305305    push    ebp
    306306    mov     ebp, esp
    307 
    308     ;
    309     ; Take loader semaphore.
    310     ;
    311     push    0ffffffffh
    312     push    offset fakeLDRSem
    313     call    _fakeKSEMRequestMutex@8
    314     or      eax, eax
    315     jnz     ftkep_ret2
    316307
    317308    ;
Note: See TracChangeset for help on using the changeset viewer.