00001 00008 #ifndef __KERN_SYSCALL_H__ 00009 #define __KERN_SYSCALL_H__ 00010 00011 00012 00013 typedef struct 00014 { 00015 /*The name of the task */ 00016 char * execname; 00017 /*The arguments to the task */ 00018 char ** execvec; 00019 } ExecArgs; 00020 00021 typedef struct 00022 { 00023 /*point to the memory region */ 00024 void * addr; 00025 /*the length of the memory region */ 00026 int len; 00027 } NewPagesArgs; 00028 00029 typedef struct 00030 { 00031 /* length of the buffer */ 00032 int size; 00033 /*pointer to the buffer */ 00034 char * buf; 00035 } LSArgs; 00036 00045 extern int syscall_initialize (void); 00046 00047 #endif /* __KERN_SYSCALL_H__ */ 00048