Subversion Repositories Kolibri OS

Rev

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

Rev 1602 Rev 1603
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: 1602 $
24
$Revision: 1603 $
25
 
25
 
26
;***************************************************************************
26
;***************************************************************************
27
;   Function
27
;   Function
Line 62... Line 62...
62
 
62
 
63
;cross
63
;cross
64
	mov	eax,ebx
64
	mov	eax,ebx
65
	mov	ebx,ecx
65
	mov	ebx,ecx
-
 
66
	mov	ecx,edx
66
	mov	ecx,edx
67
	movzx	edx, al
Line 67... Line 68...
67
;;;;;;;;;;;;;;;;;;;
68
;;;;;;;;;;;;;;;;;;;
68
 
69
 
69
if defined mmio_pci_addr
70
if defined mmio_pci_addr
70
        cmp eax, 13
71
	cmp al, 13
71
        jb pci_service_not_supported
72
	ja pci_service_not_supported
72
else
73
else
73
        cmp eax, 10
74
	cmp al, 10
Line 74... Line 75...
74
        jb pci_service_not_supported
75
	ja pci_service_not_supported
75
end if
76
end if
76
	
77
 
77
        call 	dword [f62call+eax*4]
78
	call	dword [f62call+edx*4]
Line 78... Line 79...
78
        mov	dword [esp+32],eax
79
	mov	dword [esp+32],eax
Line 94... Line 95...
94
	mov al,[BOOT_VAR+0x9020]
95
	mov al,[BOOT_VAR+0x9020]
95
	ret
96
	ret
Line 96... Line 97...
96
 
97
 
97
pci_service_not_supported:
98
pci_service_not_supported:
-
 
99
	or eax,-1
98
	or eax,-1
100
	mov	dword [esp+32],eax
Line 99... Line 101...
99
	ret
101
	ret
100
 
102
 
101
;***************************************************************************
103
;***************************************************************************