summaryrefslogtreecommitdiff
path: root/userspace/test.c
blob: 12226d333913a7cf72d18ec12f4742917b76c6ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <stdlib.h>
#include <stdio.h>

#include "syscalls.h>

int main()
{
	int x=atoi("33");
	int *mem=0x80000;
	int *mem2=0x80010;

	int y=0;
	*mem=x;

	while(1)
	{
	    printf("test printf");
//	    write(1,"dupa",4);
//	    y=example_call();
	    y++;
	    *mem2=y;
	}
    
    
}