forked from KolibriOS/kolibrios
4d719e6bc5
because of stdcall convention. * Some fixes in calculating relocations procedure. git-svn-id: svn://kolibrios.org@159 a494cfbc-eb01-0410-851d-a64ba20cac60
30 lines
528 B
NASM
30 lines
528 B
NASM
format ELF
|
|
include "public_stdcall.inc"
|
|
section '.text' executable
|
|
public_stdcall _msys_wait_for_event_infinite,0
|
|
mov eax,10
|
|
int 0x40
|
|
ret
|
|
|
|
public_stdcall _msys_check_for_event,0
|
|
mov eax,11
|
|
int 0x40
|
|
ret
|
|
|
|
public_stdcall _msys_wait_for_event,4
|
|
;arg1 - time
|
|
mov edx,ebx
|
|
mov eax,23
|
|
mov ebx,[esp+4]
|
|
int 0x40
|
|
mov ebx,edx
|
|
ret 4
|
|
|
|
public_stdcall _msys_set_wanted_events,4
|
|
;arg1 - flags
|
|
mov edx,ebx
|
|
mov eax,40
|
|
mov ebx,[esp+4]
|
|
int 0x40
|
|
mov ebx,edx
|
|
ret 4 |