Changeset 4025 for branches/Grace/src


Ignore:
Timestamp:
Aug 17, 2000, 10:23:35 AM (25 years ago)
Author:
bird
Message:

Corrected some bugs.
Current known problem is that myldrOpen seems to destroy stack causing
the call to mytkExecPgm not return correctly and hence sysinit not to
release the ldrSem.

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

Legend:

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

    r3834 r4025  
    1 ; $Id: mytkExecPgm.asm,v 1.10.4.1 2000-07-16 22:43:38 bird Exp $
     1; $Id: mytkExecPgm.asm,v 1.10.4.2 2000-08-17 08:23:34 bird Exp $
    22;
    33; mytkExecPgm - tkExecPgm overload
     
    199199    add     cx, 3 + 260                 ;  260 = additional arguments from a script file or something.
    200200                                        ;    3 = two '\0's and a space after added argument.
    201     cmp     ecx, CCHARGUMENTS           ; argument Buffersize.
     201    cmp     cx, CCHARGUMENTS            ; argument Buffersize.
    202202    jae     tkepgm_backout              ; jmp if argument + file + additional arguments >= buffer size
    203203
     
    223223
    224224    push    0ffffffffh                  ; Wait indefinitely.
    225     push    dword ptr [eax]             ; LDRSem handle.
     225    push    dword ptr eax               ; LDRSem handle.
    226226    call    near ptr FLAT:_KSEMRequestMutex@8
    227227    or      eax, eax                    ; Check if failed.
  • branches/Grace/src/win32k/test/fakea.asm

    r3829 r4025  
    1 ; $Id: fakea.asm,v 1.1 2000-07-16 22:18:15 bird Exp $
     1; $Id: fakea.asm,v 1.1.4.1 2000-08-17 08:23:35 bird Exp $
    22;
    33; Fake assembly imports.
     
    3030    public fakeptda_start
    3131    public fakeptda_environ
     32    public fakeptda_module
    3233    public fakef_FuStrLenZ
    3334    public fakef_FuStrLen
     
    5657fakeptda_dummy              db  123 dup (0)
    5758fakeptda_environ            dw      1   ; 1 is the hardcoded HOB of the win32ktst.exe's environment.
     59fakeptda_module             dw      1   ; 1 is the hardcoded HMTE of the current executable module.
    5860
    5961
Note: See TracChangeset for help on using the changeset viewer.