From 3f60324d4eb9264403a3cb370f28e2b9dba2d76f Mon Sep 17 00:00:00 2001 From: Tomoki Shirasawa Date: Thu, 14 Nov 2013 15:55:00 +0900 Subject: [PATCH] add copyright --- arch/x86/kernel/include/signal.h | 13 +++++++++ arch/x86/tools/mcreboot-attached-mic.sh.in | 12 +++++++++ executer/include/uprotocol.h | 28 +++++++++++++++++++ executer/kernel/control.c | 25 +++++++++++++++++ executer/kernel/driver.c | 20 +++++++++++++- executer/kernel/ikc.c | 23 ++++++++++++++++ executer/kernel/mcctrl.h | 31 ++++++++++++++++++++++ executer/kernel/syscall.c | 27 +++++++++++++++++++ executer/user/mcexec.c | 31 ++++++++++++++++++++++ kernel/init.c | 20 ++++++++++++++ 10 files changed, 229 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/include/signal.h b/arch/x86/kernel/include/signal.h index ea3fcf99..eeadeb2b 100644 --- a/arch/x86/kernel/include/signal.h +++ b/arch/x86/kernel/include/signal.h @@ -1,3 +1,16 @@ +/** + * \file arch/x86/kernel/include/signal.h + * Licence details are found in the file LICENSE. + * \brief + * define signal + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + */ +/* + * HISTORY: + * 2012/02/11 bgerofi what kind of new features have been added + */ + #define _NSIG 64 #define _NSIG_BPW 64 #define _NSIG_WORDS (_NSIG / _NSIG_BPW) diff --git a/arch/x86/tools/mcreboot-attached-mic.sh.in b/arch/x86/tools/mcreboot-attached-mic.sh.in index 4556dbf6..5521a474 100755 --- a/arch/x86/tools/mcreboot-attached-mic.sh.in +++ b/arch/x86/tools/mcreboot-attached-mic.sh.in @@ -1,5 +1,17 @@ #!/bin/bash +# \file arch/x86/tools/mcreboot-attached-mic.sh.in +# Licence details are found in the file LICENSE. +# \brief +# mckernel boot script +# \author Masamichi Takagi \par +# Copyright (C) 2013 NEC Corporation +# \author Tomoki Shirasawa \par +# Copyright (C) 2012 - 2013 Hitachi, Ltd. + +# HISTORY: +# + prefix="@prefix@" BINDIR="@BINDIR@" SBINDIR="@SBINDIR@" diff --git a/executer/include/uprotocol.h b/executer/include/uprotocol.h index 6ef3a2b5..dc6e4ea1 100644 --- a/executer/include/uprotocol.h +++ b/executer/include/uprotocol.h @@ -1,3 +1,31 @@ +/** + * \file executer/include/uprotocol.h + * Licence details are found in the file LICENSE. + * \brief + * define protocol + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Gou Nakamura \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ +/* + * HISTORY: + * 2013/10/21 nakamura exclude interpreter's segment from data region + * 2013/10/11 nakamura sys_getrlimit: modified to return mcexec's RLIMIT_STACK + * 2013/10/11 nakamura mcexec: add a interpreter invocation + * 2013/10/08 nakamura add a AT_ENTRY entry to the auxiliary vector + * 2013/09/02 shirasawa add terminate thread + * 2013/08/19 shirasawa mcexec forward signal to MIC process + * 2013/08/07 nakamura add page fault forwarding + * 2013/07/02 shirasawa add error handling for prepare_process + * 2013/04/17 nakamura add generic system call forwarding + */ #ifndef HEADER_UPROTOCOL_H #define HEADER_UPROTOCOL_H diff --git a/executer/kernel/control.c b/executer/kernel/control.c index cdf7ed9c..1926c3d4 100644 --- a/executer/kernel/control.c +++ b/executer/kernel/control.c @@ -1,3 +1,28 @@ +/** + * \file executer/kernel/control.c + * Licence details are found in the file LICENSE. + * \brief + * kernel module control + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Gou Nakamura \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ +/* + * HISTORY: + * 2013/09/02 shirasawa add terminate thread + * 2013/08/19 shirasawa mcexec forward signal to MIC process + * 2013/08/07 nakamura add page fault forwarding + * 2013/07/05 shirasawa propagate error code for prepare image + * 2013/07/02 shirasawa add error handling for prepare_process + * 2013/04/17 nakamura add generic system call forwarding + */ #include #include #include diff --git a/executer/kernel/driver.c b/executer/kernel/driver.c index f56a9618..c4c8c5fd 100644 --- a/executer/kernel/driver.c +++ b/executer/kernel/driver.c @@ -1,5 +1,23 @@ +/** + * \file executer/kernel/driver.c + * Licence details are found in the file LICENSE. + * \brief + * kernel module entry + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Gou Nakamura \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ /* - * + * HISTORY: + * 2013/09/02 shirasawa add terminate thread + * 2013/08/19 shirasawa mcexec forward signal to MIC process */ #include diff --git a/executer/kernel/ikc.c b/executer/kernel/ikc.c index 36f8d0c1..fffd7513 100644 --- a/executer/kernel/ikc.c +++ b/executer/kernel/ikc.c @@ -1,3 +1,26 @@ +/** + * \file executer/kernel/ikc.c + * Licence details are found in the file LICENSE. + * \brief + * inter kernel communication + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Gou Nakamura \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ +/* + * HISTORY: + * 2013/09/02 shirasawa add terminate thread + * 2013/08/07 nakamura add page fault forwarding + * 2013/06/06 shirasawa propagate error code for prepare image + * 2013/06/02 shirasawa add error handling for prepare_process + */ #include #include #include diff --git a/executer/kernel/mcctrl.h b/executer/kernel/mcctrl.h index b8c1eadd..1a3c25f8 100644 --- a/executer/kernel/mcctrl.h +++ b/executer/kernel/mcctrl.h @@ -1,3 +1,34 @@ +/** + * \file mcctrl.h + * Licence details are found in the file LICENSE. + * \brief + * define data structure + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Gou Nakamura \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ +/* + * HISTORY: + * 2013/11/07 hamada added which is required by getrlimit(2) + * 2013/10/21 nakamura exclude interpreter's segment from data region + * 2013/10/11 nakamura mcexec: add a upper limit of the stack size + * 2013/10/11 nakamura mcexec: add a path prefix for interpreter search + * 2013/10/11 nakamura mcexec: add a interpreter invocation + * 2013/10/08 nakamura add a AT_ENTRY entry to the auxiliary vector + * 2013/09/02 shirasawa add terminate thread + * 2013/08/19 shirasawa mcexec forward signal to MIC process + * 2013/08/07 nakamura add page fault forwarding + * 2013/07/26 shirasawa mcexec print signum or exit status + * 2013/07/17 nakamura create more mcexec thread so that all cpu to be serviced + * 2013/04/17 nakamura add generic system call forwarding + */ #ifndef HEADER_MCCTRL_H #define HEADER_MCCTRL_H diff --git a/executer/kernel/syscall.c b/executer/kernel/syscall.c index 2dabd983..9d00760e 100644 --- a/executer/kernel/syscall.c +++ b/executer/kernel/syscall.c @@ -1,3 +1,30 @@ +/** + * \file executer/kernel/syscall.c + * Licence details are found in the file LICENSE. + * \brief + * provide system calls + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Gou Nakamura \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ +/* + * HISTORY: + * 2013/11/06 nakamura add shared mapped file + * 2013/11/06 nakamura refuse the write to a read-only memory + * 2013/09/05 nakamura add mcexec's PTE cleaning to munmap()/mmap(MAP_FIXED) + * 2013/08/28 mcexec: upgrade CAP_SYS_RAWIO while do_mmap_pgoff() + * 2013/08/09 nakamura support private mapped file + * 2013/08/07 nakamura add page fault forwarding + * 2013/07/10 rus_vm_fault(): add handling of page absence + * 2013/04/17 nakamura add generic system call forwarding + */ #include #include #include diff --git a/executer/user/mcexec.c b/executer/user/mcexec.c index 2400dbfb..40102530 100644 --- a/executer/user/mcexec.c +++ b/executer/user/mcexec.c @@ -1,3 +1,34 @@ +/** + * \file executer/user/mcexec.c + * Licence details are found in the file LICENSE. + * \brief + * .... + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Gou Nakamura \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ +/* + * HISTORY: + * 2013/11/07 hamada added which is required by getrlimit(2) + * 2013/10/21 nakamura exclude interpreter's segment from data region + * 2013/10/11 nakamura mcexec: add a upper limit of the stack size + * 2013/10/11 nakamura mcexec: add a path prefix for interpreter search + * 2013/10/11 nakamura mcexec: add a interpreter invocation + * 2013/10/08 nakamura add a AT_ENTRY entry to the auxiliary vector + * 2013/09/02 shirasawa add terminate thread + * 2013/08/19 shirasawa mcexec forward signal to MIC process + * 2013/08/07 nakamura add page fault forwarding + * 2013/07/26 shirasawa mcexec print signum or exit status + * 2013/07/17 nakamura create more mcexec thread so that all cpu to be serviced + * 2013/04/17 nakamura add generic system call forwarding + */ #define _GNU_SOURCE #include #include diff --git a/kernel/init.c b/kernel/init.c index b0249937..ae3a481e 100644 --- a/kernel/init.c +++ b/kernel/init.c @@ -1,3 +1,23 @@ +/** + * \file kernel/init.c + * Licence details are found in the file LICENSE. + * \brief + * main function and initializer + * \author Taku Shimosawa \par + * Copyright (C) 2011 - 2012 Taku Shimosawa + * \author Balazs Gerofi \par + * Copyright (C) 2012 RIKEN AICS + * \author Tomoki Shirasawa \par + * Copyright (C) 2012 - 2013 Hitachi, Ltd. + * \author Balazs Gerofi \par + * Copyright (C) 2013 The University of Tokyo + */ +/* + * HISTORY: + * 2013/09/02 shirasawa add terminate thread + * 2013/06/02 balazs resolved merge conflicts with futex code + * 2013/05/20 simin exchange the dcfa stuff init/exit order in mcexec + */ #include #include #include