diff options
author | Alexis211 <alexis211@gmail.com> | 2010-03-23 16:34:36 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-03-23 16:34:36 +0100 |
commit | cbadacbb881200b601c7b53b29aa0c1b78747692 (patch) | |
tree | c3230c4d2dc8f75d126826954b80a37770ad26c7 /src/include/gc | |
parent | 6266a24cd2f71a0bad0e55c1eedd480790868c0f (diff) | |
download | TCE-cbadacbb881200b601c7b53b29aa0c1b78747692.tar.gz TCE-cbadacbb881200b601c7b53b29aa0c1b78747692.zip |
More work on IPC
Diffstat (limited to 'src/include/gc')
-rw-r--r-- | src/include/gc/syscall.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gc/syscall.h b/src/include/gc/syscall.h new file mode 100644 index 0000000..4001420 --- /dev/null +++ b/src/include/gc/syscall.h @@ -0,0 +1,17 @@ +#ifndef DEF_SYSCALL_H +#define DEF_SYSCALL_H + +typedef unsigned size_t; + +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 shm_create(size_t offset, size_t length); +int shm_delete(size_t offset); + +#endif |