forked from KolibriOS/kolibrios
oops: fix, that was needed in rev#1055 - changing EVENT interface function
git-svn-id: svn://kolibrios.org@1058 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6ab2399a1a
commit
40e696a566
@ -478,8 +478,8 @@ proc CreateBuffer stdcall, format:dword, size:dword
|
|||||||
mov ecx, (64*1024)/4
|
mov ecx, (64*1024)/4
|
||||||
rep stosd
|
rep stosd
|
||||||
|
|
||||||
xor edx, edx
|
xor esi, esi
|
||||||
mov ebx, MANUAL_DESTROY
|
mov ecx, MANUAL_DESTROY
|
||||||
call CreateEvent
|
call CreateEvent
|
||||||
|
|
||||||
mov ebx, [str]
|
mov ebx, [str]
|
||||||
@ -1304,9 +1304,3 @@ str.bk rd 1
|
|||||||
mix_2_core rd 1
|
mix_2_core rd 1
|
||||||
mix_3_core rd 1
|
mix_3_core rd 1
|
||||||
mix_4_core rd 1
|
mix_4_core rd 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -190,9 +190,9 @@ proc refill stdcall, str:dword
|
|||||||
jz .exit
|
jz .exit
|
||||||
|
|
||||||
mov ebx, [ebx+STREAM.notify_id]
|
mov ebx, [ebx+STREAM.notify_id]
|
||||||
mov ecx, EVENT_WATCHED
|
mov edx, EVENT_WATCHED
|
||||||
xor edx, edx
|
xor esi, esi
|
||||||
call RaiseEvent ;eax, ebx, ecx, edx
|
call RaiseEvent ;eax, ebx, edx, esi
|
||||||
.exit:
|
.exit:
|
||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
@ -250,20 +250,20 @@ proc refill_ring stdcall, str:dword
|
|||||||
|
|
||||||
sub eax, [ebx+STREAM.in_base]
|
sub eax, [ebx+STREAM.in_base]
|
||||||
sub eax, 128
|
sub eax, 128
|
||||||
lea edx, [event]
|
lea esi, [event]
|
||||||
|
|
||||||
mov dword [edx], RT_INP_EMPTY
|
mov dword [esi], RT_INP_EMPTY
|
||||||
mov dword [edx+4], 0
|
mov dword [esi+4], 0
|
||||||
mov dword [edx+8], ebx
|
mov dword [esi+8], ebx
|
||||||
mov dword [edx+12], eax
|
mov dword [esi+12], eax
|
||||||
|
|
||||||
mov eax, [ebx+STREAM.notify_event]
|
mov eax, [ebx+STREAM.notify_event]
|
||||||
test eax, eax
|
test eax, eax
|
||||||
jz .exit
|
jz .exit
|
||||||
|
|
||||||
mov ebx, [ebx+STREAM.notify_id]
|
mov ebx, [ebx+STREAM.notify_id]
|
||||||
xor ecx, ecx
|
xor edx, edx
|
||||||
call RaiseEvent ;eax, ebx, ecx, edx
|
call RaiseEvent ;eax, ebx, edx, esi
|
||||||
.exit:
|
.exit:
|
||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
@ -1260,4 +1260,3 @@ proc new_mix stdcall, output:dword
|
|||||||
endp
|
endp
|
||||||
|
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user