diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-01 12:20:45 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-01 12:20:45 +0200 |
commit | 5cac9acd3aedc8043d4272d93c56805c46ff6214 (patch) | |
tree | ba9eb5ef86f7cf7afd4f7ab02de1d6bb86715632 /src/include/gc/syscall.h | |
parent | 66b32658d2e5aa99493dcb3abcb73cdb2cc6f0b5 (diff) | |
download | TCE-5cac9acd3aedc8043d4272d93c56805c46ff6214.tar.gz TCE-5cac9acd3aedc8043d4272d93c56805c46ff6214.zip |
Some cleanup ; relocated the kernel at 0xC0000000
Diffstat (limited to 'src/include/gc/syscall.h')
-rw-r--r-- | src/include/gc/syscall.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/include/gc/syscall.h b/src/include/gc/syscall.h deleted file mode 100644 index a8928e3..0000000 --- a/src/include/gc/syscall.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef DEF_SYSCALL_H -#define DEF_SYSCALL_H - -typedef unsigned long long uint64_t; -typedef unsigned int uint32_t; -typedef unsigned short uint16_t; -typedef unsigned char uint8_t; -typedef long long int64_t; -typedef int int32_t; -typedef short int16_t; -typedef char int8_t; - -typedef unsigned size_t; - -struct user_request { - uint32_t func, params[3], shmsize[3]; - int isBlocking; // 1 : blocking request, 0 : nonblocking request (message) - int pid; //pid of caller process -}; - -struct user_sendrequest { - uint32_t func, a, b, c; - uint32_t answeri; - int64_t answerll; - int errcode; -}; - -#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 |