Commit Graph

136 Commits

Author SHA1 Message Date
83ced89fa3 Initial commit for core dump.
We can create a dummy core file when gpe occurs.
	modified:   executer/kernel/mcctrl.h
	modified:   executer/kernel/syscall.c
	modified:   kernel/include/syscall.h
	modified:   kernel/mem.c
2014-07-01 16:03:11 +09:00
39a86fad18 support execute disabled stack 2014-04-11 14:59:47 +09:00
cf442e6a14 fork(): preliminary version (no wait()/waitpid() support yet) 2014-04-02 14:07:38 +09:00
ccd770ba24 use per-process wait queues for system call request processing in mcexec so that multiple processes can share the per-core system call channels 2014-03-27 19:31:42 +09:00
fcbaa9726c correct the syscall return type
Long size syscall return values such as shmat()'s and lseek()'s are
broken, because lower 32 bits are only returned.
2014-02-05 11:30:57 +09:00
f5b4057074 add vsyscall
- getcpu() is not implemented. It will cause SIGILL.
- gettimeofday() and time() are implemented with syscall.
2014-01-24 20:18:36 +09:00
c421965542 relocate a program interpreter to the map_start
This commit makes a system call that dereferences a NULL pointer fail.
2014-01-14 18:55:16 +09:00
a8c249ddaf signal (part 1) 2014-01-07 11:57:57 +09:00
506caa7e7f page.h, process.h, rlimit.h, syscall.h, time.h, timer.h copyright 2013-11-14 17:34:30 +09:00
d557ba84d6 exclude interpreter's segment from data region
When an interpreter is located on the lower address (e.g. 0x0),
the text region is included in data region.
A fix to avoid this.
2013-10-30 14:28:32 +09:00
27172ad413 support private mapped file 2013-10-15 12:30:41 +09:00
4fb6620f3a sys_getrlimit: modified to return mcexec's RLIMIT_STACK 2013-10-11 22:36:16 +09:00
413fe7b54a mcexec: add a interpreter invocation
When start a program which have a PT_INTERP segment
(dynamic linkaged program have a PT_INTERP segment),
start the interpreter indicated by the PT_INTERP segment.
2013-10-11 22:23:22 +09:00
a171da1015 add a AT_ENTRY entry to the auxiliary vector 2013-10-11 22:23:22 +09:00
1d69225532 mcexec forward signal to MIC process. 2013-08-19 12:17:23 +09:00
591f398768 add page fault forwarding 2013-08-08 12:43:15 +09:00
78d9d3fcd2 Revert "trial implementation of private file mapping"
This reverts commit abe57218c4.
2013-07-26 16:44:39 +09:00
abe57218c4 trial implementation of private file mapping
for review only.  will soon be reverted.
2013-07-26 14:40:12 +09:00
2aa5194958 rewrite sys_mmap() as sys_new_mmap() 2013-07-10 13:11:19 +09:00
dae884d572 add syscall number constants in syscall.h 2013-07-10 13:11:19 +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
cbc37b62a9 return syscall_table[] to the arch-independent part 2013-07-01 12:44:12 +09:00
4695b332e2 move syscall_table[] to the architecture-depended part 2013-06-19 16:52:46 +09:00
d8034eeb13 propagate error code for prepare image 2013-06-05 17:38:23 +09:00
54798253c5 add error handling for prepare_process 2013-06-02 13:49:10 +09:00
bb4caccf98 add memory allocation check 2013-05-28 12:06:41 +09:00
e09160cce7 add generic system call forwarding 2013-04-17 20:32:33 +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
9a8449df2b populate ELF header information on the initial stack so that glibc can set up TLS properly 2012-10-09 00:51:50 +09:00
7c85ac93e8 passing argc, argv and envp to main() 2012-05-10 22:07:23 +09:00
c3226018b9 first step towards clone() and futex() (shimada-san) 2012-05-03 13:07:46 +09:00
a63b4a7369 System call delegation supports DMA alignment 2012-02-24 18:08:05 +09:00
e42395e42a valid flag is added 2011-12-02 13:19:44 +09:00
7999653a00 a commit 2011-12-02 12:35:38 +09:00
480e1b12ef big commit 2011-11-28 13:00:13 +09:00