Subversion Repositories Kolibri OS

Rev

Rev 4418 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4418 Rev 4547
Line 296... Line 296...
296
        mov     ecx, [ebx+ehci_pipe.Flags-sizeof.ehci_pipe]
296
        mov     ecx, [ebx+ehci_pipe.Flags-sizeof.ehci_pipe]
297
        shr     ecx, 30
297
        shr     ecx, 30
298
        imul    eax, ecx
298
        imul    eax, ecx
299
        movzx   ecx, byte [ebx+ehci_pipe.Flags-sizeof.ehci_pipe]
299
        movzx   ecx, byte [ebx+ehci_pipe.Flags-sizeof.ehci_pipe]
300
; get target list
300
; get target list
301
        mov     edx, [ebx+ehci_pipe.BaseList-sizeof.ehci_pipe]
301
        mov     edx, [ebx+usb_pipe.BaseList]
302
; update bandwidth
302
; update bandwidth
303
.dec_bandwidth:
303
.dec_bandwidth:
304
        shr     ecx, 1
304
        shr     ecx, 1
305
        jnc     @f
305
        jnc     @f
306
        sub     word [edx+ehci_static_ep.Bandwidths - ehci_static_ep.SoftwarePart], ax
306
        sub     word [edx+ehci_static_ep.Bandwidths - ehci_static_ep.SoftwarePart], ax
Line 730... Line 730...
730
        push    edi
730
        push    edi
731
        sub     esp, sizeof.usb_split_info
731
        sub     esp, sizeof.usb_split_info
732
        mov     edi, esp
732
        mov     edi, esp
733
        call    tt_fill_split_info
733
        call    tt_fill_split_info
734
; get target list
734
; get target list
735
        mov     edx, [ebx+ehci_pipe.BaseList-sizeof.ehci_pipe]
735
        mov     edx, [ebx+usb_pipe.BaseList]
736
; update bandwidth for Start-Split
736
; update bandwidth for Start-Split
737
        mov     eax, [edi+usb_split_info.ssplit_bandwidth]
737
        mov     eax, [edi+usb_split_info.ssplit_bandwidth]
738
        xor     ecx, ecx
738
        xor     ecx, ecx
739
.dec_bandwidth_1:
739
.dec_bandwidth_1:
740
        bt      [ebx+ehci_pipe.Flags-sizeof.ehci_pipe], ecx
740
        bt      [ebx+ehci_pipe.Flags-sizeof.ehci_pipe], ecx