From: ÀîºêÁÁ (lihongliang070_at_tom.com)
Date: Wed May 06 2009 - 00:58:42 PDT
hello,professor: I am reading BLCR source code these days, when I come to the source code in LIBCR, I can not understand how the user get the C/R services from the CR kernel module by invoking functions in LIBCR,since the system call declared in Cr_syscall.h were not implemented at all.. I am confused... so I need your help syscall in Cr_syscall.h: extern int __cri_ioctl(int fd, int cmd, void * arg, int * errno_p); extern int __cri_open(const char * pathname, int flags, int mode, int * errno_p); extern int __cri_close(int fd, int * errno_p); extern int __cri_sched_yield(int * errno_p); extern int __cri_nanosleep(const struct timespec * req, struct timespec * rem, int * errno_p); extern int __cri_exit(int code, int * errno_p); extern int __cri_exit_group(int code, int * errno_p); extern int __cri_ksigaction(int signum, const struct k_sigaction *act, struct k_sigaction *oldact, size_t setsize, int * errno_p); I can not find the implementaions... They are just declared....