forked from KolibriOS/kolibrios
Small bugfix concerning ISA devices
git-svn-id: svn://kolibrios.org@4974 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6496d04506
commit
0651536c07
@ -268,13 +268,12 @@ proc service_proc stdcall, ioctl:dword
|
|||||||
jmp .hook
|
jmp .hook
|
||||||
|
|
||||||
.isa:
|
.isa:
|
||||||
|
|
||||||
mov esi, device_list
|
mov esi, device_list
|
||||||
mov ecx, [devices]
|
mov ecx, [devices]
|
||||||
test ecx, ecx
|
test ecx, ecx
|
||||||
jz .firstdevice_isa
|
jz .firstdevice_isa
|
||||||
mov al, [eax+3]
|
|
||||||
movzx edi, word [eax+1]
|
movzx edi, word [eax+1]
|
||||||
|
mov al, [eax+3]
|
||||||
.nextdevice_isa:
|
.nextdevice_isa:
|
||||||
mov ebx, [esi]
|
mov ebx, [esi]
|
||||||
cmp edi, [device.io_addr]
|
cmp edi, [device.io_addr]
|
||||||
|
Loading…
Reference in New Issue
Block a user