Commit Graph

80 Commits

Author SHA1 Message Date
5369864551 fix warnings 2013-06-19 16:47:02 +09:00
32b8cc4651 delete unused codes 2013-06-17 18:07:26 +09:00
8a7429d872 delete SYSCALL_DECLARE(gettimeofday) 2013-06-17 18:07:26 +09:00
329dd42c32 add gettimeofday by physical buffer. used by futex() 2013-06-17 18:07:26 +09:00
3d11115491 delete SYSCALL_DECLARE(readlink) 2013-06-17 18:07:26 +09:00
1167ea7fb6 delete SYSCALL_DECLARE(getdents64) 2013-06-17 18:07:26 +09:00
b463f39344 delete SYSCALL_DECLARE(access) 2013-06-17 18:07:26 +09:00
628793225f delete SYSCALL_DECLARE(getcwd) 2013-06-17 18:07:26 +09:00
d6f6e4d6d7 delete SYSCALL_DECLARE(uname) 2013-06-17 18:07:26 +09:00
4494e54d38 delete SYSCALL_DECLARE(lseek) 2013-06-17 18:07:26 +09:00
58c5a45aad delete SYSCALL_DECLARE(close) 2013-06-17 18:07:26 +09:00
43792fbce9 delete SYSCALL_DECLARE(pwrite) 2013-06-17 18:07:25 +09:00
f7d9ad966c delete SYSCALL_DECLARE(write) 2013-06-17 18:07:25 +09:00
887295a189 delete SYSCALL_DECLARE(pread) 2013-06-17 18:07:25 +09:00
2ba7170ce1 delete SYSCALL_DECLARE(read) 2013-06-17 18:07:25 +09:00
ecc9b2eeb2 delete SYSCALL_DECLARE(writev) 2013-06-17 18:07:25 +09:00
5d0062c204 delete SYSCALL_DECLARE(time) 2013-06-17 18:07:25 +09:00
e6bea799aa delete SYSCALL_DECLARE(stat) 2013-06-17 18:07:25 +09:00
9810c9c0de delete SYSCALL_DECLARE(fstat) 2013-06-17 18:07:25 +09:00
1fe6b5fb7b delete sys_getxid() 2013-06-17 18:07:25 +09:00
3ffe835243 change the indentation of sys_brk() 2013-06-17 18:07:25 +09:00
93f15321a5 change sys_brk to SYSCALL_DECLARE(brk) 2013-06-17 18:07:25 +09:00
8436f5a5ac add remove_process_memory_range() 2013-06-12 11:49:19 +09:00
5206ae7d57 delete old? ioctl(2) delegation codes 2013-06-07 21:21:22 +09:00
08b881b530 delete old fcntl(2) delegation codes 2013-06-07 21:21:22 +09:00
8b9e97ceb7 FIX Bug 25 - static linked OpenMP application fails with page fault (during OpenMP initialisation?) 2013-06-05 15:44:11 +09:00
ec908bd2cb add dummy sched_yield() implementation to avoid shipping it through the generic syscall forwarding code (slowed down OpenMP) 2013-06-02 16:49:23 +09:00
4a27a65cb0 resolved merge conflicts with futex code 2013-06-02 16:42:08 +09:00
d836b92bc2 avoid pointer check when reading a file in mmap(!MAP_FIXED)
address specified by the user is only a hint,
it should not be checked.
2013-05-31 10:59:27 +09:00
da3965be11 Merge branch 'master' of postpeta.pccluster.org:mckernel
Conflicts:
	kernel/host.c
	kernel/process.c
	lib/include/ihk/mm.h
2013-05-28 12:49:13 +09:00
bb4caccf98 add memory allocation check 2013-05-28 12:06:41 +09:00
fa1be382c7 release the resources of the process at exit(2)/exit_group(2). 2013-05-28 11:31:23 +09:00
5d78660011 use dkprintf() in getcwd() and access() 2013-05-10 18:54:33 +09:00
83db56a040 futex adaptation from Linux 2.6.34 (Intel MPSS Linux) 2013-05-10 14:23:14 +09:00
a79bfd6a01 use no IRQ disable spinlocks for page_table lock and disable debug msgs in mmap() by default 2013-05-10 13:22:18 +09:00
c0824db8f1 FIX Bug 3 - Wrong results of sched_getaffinity (mask) 2013-05-08 13:27:36 +09:00
e09160cce7 add generic system call forwarding 2013-04-17 20:32:33 +09:00
93e1f112f8 structure format(both user/kernel mode of dcfa and dcfampi enabled) 2013-04-10 17:38:02 +09:00
4693789608 change function names 2012-12-17 16:15:05 +09:00
0a808057eb modify include lines and Makefiles 2012-12-17 16:10:56 +09:00
84ade197f0 move mccmd cleanup into a sub-thread which receives the exit_group syscall 2012-12-04 15:48:42 +09:00
c08e60382d merge mpi host assist process into mcexec,
use syscall instead of another ikc

Conflicts:

	kernel/syscall.c
	linux/executer/mcexec.c
2012-11-29 16:28:25 +09:00
9fd7f3ddf7 add func do_mod_exit
Conflicts:

	kernel/syscall.c
2012-11-29 14:01:26 +09:00
092069fd80 spin-wait based kernel timer (for futex() timeout) implementation 2012-11-28 15:22:53 +09:00
b79d20d7bf modification for no_cache: extend_process_region(...,flag) 2012-11-27 16:38:05 +09:00
b902a245e4 add lock and error check in sys_brk 2012-11-27 16:17:08 +09:00
d4b186f1d8 align 1MB when performing mmap with MAP_FIXED == 0 and MAP_ANONYMOUS == 0 and MAP_PRIVATE == 1 to make it easy to match assembly code in memory and one in file 2012-11-27 15:37:57 +09:00
31098d3d75 add nocache for mmap. usage: void *va = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS | 0x40, -1, 0); 2012-11-27 14:56:40 +09:00
2698cb85c9 add syscalls (pmc_init, pmc_start, pmc_stop, pmc_reset) for performance monitoring instructions 2012-11-26 19:25:53 +09:00
790ae3a9c7 use right physical address for host side read after large page mapping 2012-11-26 17:25:17 +09:00