Subversion Repositories Kolibri OS

Rev

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

Rev 3393 Rev 3598
Line 19... Line 19...
19
;;                                                              ;;
19
;;                                                              ;;
20
;;  See file COPYING for details                                ;;
20
;;  See file COPYING for details                                ;;
21
;;                                                              ;;
21
;;                                                              ;;
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
22
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 23... Line 23...
23
 
23
 
Line 24... Line 24...
24
$Revision: 3393 $
24
$Revision: 3598 $
25
 
25
 
26
;***************************************************************************
26
;***************************************************************************
27
;   Function
27
;   Function
Line 678... Line 678...
678
        test    byte [.devfn], 7
678
        test    byte [.devfn], 7
679
        jnz     .next_func
679
        jnz     .next_func
680
        jmp     .no_device
680
        jmp     .no_device
681
.has_device:
681
.has_device:
682
        push    eax
682
        push    eax
683
        push    sizeof.PCIDEV
683
        movi    eax, sizeof.PCIDEV
684
        pop     eax
-
 
685
        call    malloc
684
        call    malloc
686
        pop     ecx
685
        pop     ecx
687
        test    eax, eax
686
        test    eax, eax
688
        jz      .nomemory
687
        jz      .nomemory
689
        mov     edi, eax
688
        mov     edi, eax