new SysFn62 call - STABLE now

git-svn-id: svn://kolibrios.org@1603 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Artem Jerdev (art_zh) 2010-09-05 08:13:41 +00:00
parent 62007342e9
commit d83ca851d8

View File

@ -64,17 +64,18 @@ pci_api:
mov eax,ebx
mov ebx,ecx
mov ecx,edx
movzx edx, al
;;;;;;;;;;;;;;;;;;;
if defined mmio_pci_addr
cmp eax, 13
jb pci_service_not_supported
cmp al, 13
ja pci_service_not_supported
else
cmp eax, 10
jb pci_service_not_supported
cmp al, 10
ja pci_service_not_supported
end if
call dword [f62call+eax*4]
call dword [f62call+edx*4]
mov dword [esp+32],eax
ret
;; ============================================
@ -96,6 +97,7 @@ pci_fn_2:
pci_service_not_supported:
or eax,-1
mov dword [esp+32],eax
ret
;***************************************************************************