kolibrios/programs/develop/ktcc/trunk/libc/kolibrisys/process.asm
superturbocat2001 1094e71a7d - added network.obj loader
- added _ksys_kill_process function
in libck.a ktcc

git-svn-id: svn://kolibrios.org@8337 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-07 21:19:51 +00:00

25 lines
404 B
NASM

format ELF
;include "public_stdcall.inc"
public _ksys_get_process_table
public _ksys_kill_process
section '.text' executable
_ksys_get_process_table:
;arg1 - pointer to information
;arg2 - pid
mov eax,9
mov ebx,[esp+4]
mov ecx,[esp+8]
int 0x40
ret 8
_ksys_kill_process:
;arg - pid
mov eax, 18
mov ebx, 18
mov ecx,[esp+4]
int 0x40
ret 4