Rev 1603 | Rev 1614 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1603 | Rev 1612 | ||
---|---|---|---|
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: 1603 $ |
24 | $Revision: 1612 $ |
25 | 25 | ||
26 | ;*************************************************************************** |
26 | ;*************************************************************************** |
27 | ; Function |
27 | ; Function |
Line 59... | Line 59... | ||
59 | pci_api: |
59 | pci_api: |
60 | cmp [pci_access_enabled],1 |
60 | cmp [pci_access_enabled],1 |
61 | jne pci_service_not_supported |
61 | jne pci_service_not_supported |
Line 62... | Line 62... | ||
62 | 62 | ||
- | 63 | ;cross |
|
63 | ;cross |
64 | push eax |
64 | mov eax,ebx |
65 | mov eax,ebx |
65 | mov ebx,ecx |
66 | mov ebx,ecx |
- | 67 | mov ecx,edx |
|
66 | mov ecx,edx |
68 | pop edx |
67 | movzx edx, al |
69 | movzx edx, dl |
Line 68... | Line 70... | ||
68 | ;;;;;;;;;;;;;;;;;;; |
70 | ;;;;;;;;;;;;;;;;;;; |
69 | 71 | ||
70 | if defined mmio_pci_addr |
72 | if defined mmio_pci_addr |
71 | cmp al, 13 |
73 | cmp dl, 13 |
72 | ja pci_service_not_supported |
74 | ja pci_service_not_supported |
73 | else |
75 | else |
74 | cmp al, 10 |
76 | cmp dl, 10 |
Line 75... | Line 77... | ||
75 | ja pci_service_not_supported |
77 | ja pci_service_not_supported |
76 | end if |
78 | end if |