Subversion Repositories Kolibri OS

Rev

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

Rev 4850 Rev 5177
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2013-2014. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2013-2014. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 4850 $
8
$Revision: 5177 $
9
 
9
 
10
 
10
 
Line 724... Line 724...
724
        pop     edi esi
724
        pop     edi esi
725
        call    usb_reinit_pipe_list
725
        call    usb_reinit_pipe_list
726
; 3d. Free old memory.
726
; 3d. Free old memory.
727
        call    free
727
        call    free
728
        pop     eax
728
        pop     eax
729
; 4. Issue control transfer GET_DESCRIPTOR(DEVICE) for full descriptor.
729
; 4. Issue control transfer GET_DESCRIPTOR(CONFIGURATION) for full descriptor.
730
        movzx   ecx, [eax+usb_device_data.DeviceDescrSize]
730
        movzx   ecx, [eax+usb_device_data.DeviceDescrSize]
731
        mov     edx, [eax+usb_device_data.ConfigDataSize]
731
        mov     edx, [eax+usb_device_data.ConfigDataSize]
732
        lea     eax, [eax+ecx+sizeof.usb_device_data]
732
        lea     eax, [eax+ecx+sizeof.usb_device_data]
733
        mov     dword [eax], \
733
        mov     dword [eax], \
734
                80h + \         ; device-to-host, standard, device-wide
734
                80h + \         ; device-to-host, standard, device-wide