diff -urN /usr/src/linux-2.6.22.18-0.2/arch/i386/kernel/syscall_table.S kernelSrc/arch/i386/kernel/syscall_table.S --- /usr/src/linux-2.6.22.18-0.2/arch/i386/kernel/syscall_table.S 2007-07-08 19:32:17.000000000 -0400 +++ kernelSrc/arch/i386/kernel/syscall_table.S 2008-09-19 21:11:36.000000000 -0400 @@ -323,3 +323,6 @@ .long sys_signalfd .long sys_timerfd .long sys_eventfd + .long sys_mailbox_send + .long sys_mailbox_rcv /* 325 */ + .long sys_mailbox_manage diff -urN /usr/src/linux-2.6.22.18-0.2/include/asm-i386/unistd.h kernelSrc/include/asm-i386/unistd.h --- /usr/src/linux-2.6.22.18-0.2/include/asm-i386/unistd.h 2007-07-08 19:32:17.000000000 -0400 +++ kernelSrc/include/asm-i386/unistd.h 2008-09-19 21:11:36.000000000 -0400 @@ -329,10 +329,13 @@ #define __NR_signalfd 321 #define __NR_timerfd 322 #define __NR_eventfd 323 +#define __NR_mailbox_send 324 +#define __NR_mailbox_rcv 325 +#define __NR_mailbox_manage 326 #ifdef __KERNEL__ -#define NR_syscalls 324 +#define NR_syscalls 327 #define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_OLD_READDIR diff -urN /usr/src/linux-2.6.22.18-0.2/include/linux/sched.h kernelSrc/include/linux/sched.h --- /usr/src/linux-2.6.22.18-0.2/include/linux/sched.h 2008-06-09 11:08:31.000000000 -0400 +++ kernelSrc/include/linux/sched.h 2008-09-19 21:11:36.000000000 -0400 @@ -822,6 +822,8 @@ struct prio_array; +struct cs3013_mailbox; + struct task_struct { volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ void *stack; @@ -957,6 +959,8 @@ struct files_struct *files; /* namespaces */ struct nsproxy *nsproxy; +/* mailbox */ + struct cs3013_mailbox *mailbox; /* signal handlers */ struct signal_struct *signal; struct sighand_struct *sighand;