mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 03:42:35 +03:00
kolibri-acpi: fix mistype in futex_wake
git-svn-id: svn://kolibrios.org@5605 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9b3677daa9
commit
272fd42b90
@ -231,9 +231,9 @@ align 4
|
||||
|
||||
align 4
|
||||
;ecx futex handle
|
||||
;esi current process
|
||||
;edi futex object
|
||||
;edx threads count
|
||||
;edx numder of threads
|
||||
;edi current process
|
||||
;ebp futex object
|
||||
.futex_wake:
|
||||
|
||||
xor ecx, ecx
|
||||
@ -241,11 +241,11 @@ align 4
|
||||
pushfd
|
||||
cli
|
||||
|
||||
lea ebx, [edi+FUTEX.wait_list]
|
||||
lea ebx, [ebp+FUTEX.wait_list]
|
||||
mov esi, [ebx+LHEAD.next]
|
||||
@@:
|
||||
.wake:
|
||||
cmp esi, ebx
|
||||
je @F
|
||||
je .done
|
||||
|
||||
mov eax, [esi+MUTEX_WAITER.task]
|
||||
mov [eax+TASKDATA.state], 0
|
||||
@ -253,8 +253,8 @@ align 4
|
||||
mov esi, [esi+MUTEX_WAITER.list.next]
|
||||
inc ecx
|
||||
cmp ecx, edx
|
||||
jb @B
|
||||
@@:
|
||||
jb .wake
|
||||
.done:
|
||||
popfd
|
||||
mov [esp+SYSCALL_STACK._eax], ecx
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user