Subversion Repositories Kolibri OS

Rev

Rev 3545 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3545 Rev 4334
Line 350... Line 350...
350
        inc     [device.packets_tx]
350
        inc     [device.packets_tx]
351
        mov     eax, [esp + 8]
351
        mov     eax, [esp + 8]
352
        add     dword [device.bytes_tx], eax
352
        add     dword [device.bytes_tx], eax
353
        adc     dword [device.bytes_tx + 4], 0
353
        adc     dword [device.bytes_tx + 4], 0
Line -... Line 354...
-
 
354
 
354
 
355
        xor     eax, eax
Line 355... Line 356...
355
        ret     8
356
        ret     8
356
 
357
 
-
 
358
  .fail:
-
 
359
        DEBUGF  1,"Send failed\n"
357
  .fail:
360
        stdcall KernelFree, [esp+4]
Line 358... Line 361...
358
        DEBUGF  1,"Send failed\n"
361
        or      eax, -1
359
        ret     8
362
        ret     8