Changeset 4338 for trunk/src


Ignore:
Timestamp:
Sep 28, 2000, 5:32:39 AM (25 years ago)
Author:
bird
Message:

Added debug stack cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/ldr/myldrOpenPatha.asm

    r4307 r4338  
    1 ; $Id: myldrOpenPatha.asm,v 1.1 2000-09-22 09:22:40 bird Exp $
     1; $Id: myldrOpenPatha.asm,v 1.2 2000-09-28 03:32:39 bird Exp $
    22;
    33; myldrOpenPatha - assembly helpers for myldrOpenPath.
     
    5555    mov     [esp +  00h], eax
    5656
     57    ;
     58    ;
     59    ; debug - clear the stack.
     60    ;
     61if 0
     62    extrn   pulTKSSBase32:DWORD
     63    push    ecx
     64    push    edi
     65    push    es
     66    push    ds
     67    pop     es
     68
     69    mov     edi, pulTKSSBase32
     70    mov     edi, [edi]
     71    add     edi, esp
     72    mov     ecx, esp
     73    and     ecx, 0fffh
     74    sub     edi, ecx
     75    xor     eax, eax
     76    rep     stosb
     77
     78    pop     es
     79    pop     edi
     80    pop     ecx
     81endif
     82
    5783new:
    5884    jmp     near ptr FLAT:CALLTAB:__ldrOpenPath
    59 
    6085_ldrOpenPath@20 ENDP
    6186
Note: See TracChangeset for help on using the changeset viewer.