forked from KolibriOS/kolibrios
13 lines
257 B
NASM
13 lines
257 B
NASM
|
format ELF
|
||
|
section '.text' executable
|
||
|
public _msys_get_process_table
|
||
|
_msys_get_process_table:
|
||
|
;arg1 - pointer to information
|
||
|
;arg2 - pid
|
||
|
mov edx,ebx
|
||
|
mov eax,9
|
||
|
mov ebx,[esp+4]
|
||
|
mov ecx,[esp+8]
|
||
|
int 0x40
|
||
|
mov ebx,edx
|
||
|
ret 8
|