Commit Graph

589 Commits

Author SHA1 Message Date
a4973307bd deliver signum to sighandler 2013-07-26 12:50:32 +09:00
af1c0b1352 correct sighandler breaks registers 2013-07-26 12:24:00 +09:00
221f2c0517 support SIGSEGV(page fault) and SIGILL(general protection error) 2013-07-26 11:53:00 +09:00
334662b7fe implement sys_mprotect() 2013-07-18 09:25:58 +09:00
3749696d3e simple signal handler and kill(2) support. 2013-07-18 08:53:28 +09:00
2aa5194958 rewrite sys_mmap() as sys_new_mmap() 2013-07-10 13:11:19 +09:00
630170fb6a add ihk_mc_allocate_aligned_pages() 2013-07-10 13:11:18 +09:00
63d97642d5 add intptr_t, uintptr_t, off_t type definition 2013-07-10 13:11:18 +09:00
99a228930f correct syscall name 2013-07-10 13:11:18 +09:00
4214441ac3 Make clone system-call create a new thread on the next available physical core
and skip the physical core with a system process so that
programs using Intel OpenMP bind threads to cores in that manner.
2013-07-05 18:55:03 +09:00
75b51ec0c1 delete SYSCALL_DECLARE(process_data_section) 2013-07-01 12:44:12 +09:00
cbc37b62a9 return syscall_table[] to the arch-independent part 2013-07-01 12:44:12 +09:00
295c2ee5ca Revert "workaround for non-DCFA make"
This reverts commit 15ac1e246a.
2013-07-01 12:44:12 +09:00
15ac1e246a workaround for non-DCFA make
suppress the following error:

ihk/ihk.o: In function `generic_common_handlers':
(.data+0x2678): undefined reference to `sys_mod_call'
2013-06-22 15:22:38 +09:00
de5137e18b Delete DCFA_KMOD flag in syscall_list.h.
Because DCFA_KMOD is undefined in this file,
even if we set -DDCFA_KMOD in Makefile
2013-06-20 11:33:14 -05:00
4695b332e2 move syscall_table[] to the architecture-depended part 2013-06-19 16:52:46 +09:00
96f02a1d08 delete the access restrictions of whole page table.
access restrictions will be set on individual pages.
2013-06-19 12:07:40 +09:00
ff5ee67d06 remove PTATTR_USER from the decision of ihk_mc_ap_flag in __set_pt_page 2013-06-19 12:07:40 +09:00
5fc0d90b7d add ihk_mc_pt_clear_range() 2013-06-12 11:49:19 +09:00
80538d8800 fix a wrong decision in __clear_pt_page() 2013-06-03 14:39:07 +09:00
4a27a65cb0 resolved merge conflicts with futex code 2013-06-02 16:42:08 +09:00
2627d4df55 add PTATTR_FOR_USER flag to enum ihk_mc_ap_flag 2013-06-02 13:57:44 +09:00
5d9efa7241 add rollback when ihk_mc_pt_set_page returns error 2013-06-02 13:54:38 +09:00
d540deab17 change 'pa_ops' to file scope variable 2013-05-28 13:40:19 +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
50927537ac remove setting of warm reset vector (bug#11)
at least, in attached-mic and builtin-mic,
should not be necessary because it uses the SIPI.
2013-05-17 17:16:18 +09:00
31b83e0b41 stop early_alloc_page correctly (bug#17) 2013-05-17 17:15:14 +09:00
0fdf3d3411 set the PFL1_PCD, if PTATTR_UNCACHABLE is specified. (bug#14) 2013-05-17 17:14:19 +09:00
cf0ea31805 atomic __xchg() port from Linux 2013-05-10 12:43:44 +09:00
bdebcf4b48 ihk_mc_spinlock_lock_noirq() / ihk_mc_spinlock_unlock_noirq() implementation 2013-05-10 12:43:13 +09:00
4a94b1d9a2 move lapic_ack() in the front of IRQ handler, disable debug msgs by default 2013-05-10 12:42:11 +09:00
b83083b9a2 [Bug 16] malfunction of __clear_pt_page when a virtual address is accessed and at that time the corresponding PDTE is invalid: FIX large page issue 2013-05-10 12:40:50 +09:00
d5a6343dd3 [Bug 15] get_pte malfunction in case of 2MiB page size: FIX 2013-05-10 12:40:00 +09:00
9818e199f6 support builtin-x86 and builtin-mic 2013-01-06 15:45:17 +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
158903c7b6 modify file names and create directories 2012-12-17 15:39:24 +09:00