Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
647 | andrew_pro | 1 | format ELF |
2 | |||
3 | section '.text' executable |
||
4 | |||
5 | public _ksys_wait_for_event_infinite |
||
6 | public _ksys_check_for_event |
||
7 | public _ksys_wait_for_event |
||
8 | public _ksys_set_wanted_events |
||
9 | |||
10 | _ksys_wait_for_event_infinite: |
||
11 | |||
12 | mov eax,10 |
||
13 | int 0x40 |
||
14 | |||
15 | ret |
||
16 | |||
17 | _ksys_check_for_event: |
||
18 | |||
19 | mov eax,11 |
||
20 | int 0x40 |
||
21 | |||
22 | ret |
||
23 | |||
24 | _ksys_wait_for_event: |
||
25 | |||
26 | ;arg1 - time |
||
27 | mov eax,23 |
||
28 | mov ebx,[esp+4] |
||
29 | int 0x40 |
||
30 | |||
31 | ret 4 |
||
32 | |||
33 | _ksys_set_wanted_events: |
||
34 | |||
35 | ;arg1 - flags |
||
36 | mov eax,40 |
||
37 | mov ebx,[esp+4] |
||
38 | int 0x40 |
||
39 | |||
40 | ret 4 |