Subversion Repositories Kolibri OS

Rev

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

Rev 4519 Rev 4521
Line 752... Line 752...
752
        inc     [device.packets_tx]
752
        inc     [device.packets_tx]
753
        mov     eax, [buffersize]
753
        mov     eax, [buffersize]
754
        add     dword[device.bytes_tx], eax
754
        add     dword[device.bytes_tx], eax
755
        adc     dword[device.bytes_tx + 4], 0
755
        adc     dword[device.bytes_tx + 4], 0
Line 756... Line -...
756
 
-
 
757
        xor     eax, eax
756
 
-
 
757
        popf
758
        popf
758
        xor     eax, eax
Line 759... Line 759...
759
        ret
759
        ret
760
 
760
 
761
  .fail:
761
  .fail:
762
        DEBUGF  2,"Send failed\n"
-
 
763
        stdcall KernelFree, [bufferptr]
762
        DEBUGF  2,"Send failed\n"
-
 
763
        stdcall KernelFree, [bufferptr]
764
        or      eax, -1
764
        popf
Line 765... Line 765...
765
        popf
765
        or      eax, -1