blob: 5257a02c89a6e808f25780ce47b66bba1b056c61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef DEF_SYSCALL_H
#define DEF_SYSCALL_H
#include <types.h>
#define NEW_STACK_SIZE 0x8000
void thread_exit();
void schedule();
void thread_sleep(int time);
void process_exit(int retval);
void printk(char* str);
void thread_new(void (*entry)(void*), void *data);
void irq_wait(int number);
int proc_priv();
int proc_setheap(size_t start, size_t end);
int shm_create(size_t offset, size_t length);
int shm_delete(size_t offset);
#endif
|