Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5602 serge 1
format MS COFF
2
use32
3
 
4
MUTEX.lock      equ 0
5
MUTEX.handle    equ 4
6
 
7
section '.text' align 16 code readable executable
8
 
9
public @mutex_init@4
10
 
11
@mutex_init@4:
12
        push    ebx
13
        xor     ebx, ebx
14
        mov     eax, 77
15
        mov     [ecx+MUTEX.lock], ebx
16
        int     0x40
17
        mov     [ecx+MUTEX.handle], eax
18
        pop     ebx
19
        ret