kern

view src/test_proc.S @ 47:f65b348780e3

continuing with the process implementation. not done yet, panics.
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 28 Jul 2011 05:43:04 +0300
parents
children b1e8c8251884
line source
1 #include <sysnum.h>
3 .text
4 .globl test_proc
5 test_proc:
6 /* --- print a message --- */
7 movl $SYS_HELLO, %eax
8 int $SYSCALL_INT
10 /* --- sleep for 5 seconds --- */
11 movl $SYS_SLEEP, %eax
12 movl $5, %ebx
13 int $SYSCALL_INT
15 jmp test_proc
17 .globl test_proc_end
18 test_proc_end: