Subversion Repositories Kolibri OS

Rev

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

Rev 1612 Rev 1614
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: 1612 $
24
$Revision: 1614 $
25
 
25
 
26
;***************************************************************************
26
;***************************************************************************
27
;   Function
27
;   Function
Line 55... Line 55...
55
endg
55
endg
Line 56... Line 56...
56
 
56
 
Line 57... Line 57...
57
align 4
57
align 4
58
 
-
 
59
pci_api:
-
 
Line 60... Line 58...
60
	cmp  [pci_access_enabled],1
58
 
61
	jne  pci_service_not_supported
-
 
62
 
59
pci_api:
63
;cross
60
 
64
    push eax
61
;cross
-
 
62
    mov eax,ebx
65
	mov	eax,ebx
63
	mov	ebx,ecx
66
	mov	ebx,ecx
64
	mov	ecx,edx
-
 
65
 
-
 
66
align 4
-
 
67
pci_api_drv:
-
 
68
 
67
	mov	ecx,edx
69
    cmp  [pci_access_enabled],1
Line 68... Line 70...
68
    pop edx
70
    jne  pci_service_not_supported
69
	movzx	edx, dl
71
 
70
;;;;;;;;;;;;;;;;;;;
72
    movzx   edx, al
71
 
73
 
72
if defined mmio_pci_addr
74
if defined mmio_pci_addr
73
    cmp dl, 13
75
    cmp al, 13
74
	ja pci_service_not_supported
76
	ja pci_service_not_supported
Line 75... Line 77...
75
else
77
else
76
    cmp dl, 10
78
    cmp al, 10