1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00
Commit graph

1303 commits

Author SHA1 Message Date
Stefan Lankes
8a1534f545 protect heap by setting the NX flag in PML4 2016-05-21 15:55:34 +02:00
Stefan Lankes
44cc801525 disable temporary ICC example 2016-05-21 07:20:25 +02:00
Stefan Lankes
5cc31057d5 add example to create an HermitCore App with Intel's C compiler 2016-05-20 23:03:30 +02:00
Stefan Lankes
86fd7789df reduce the number of output messages 2016-05-20 22:05:18 +02:00
Stefan Lankes
59ec9bd93d swapout the build process of the newlib 2016-05-20 15:12:41 +02:00
Stefan Lankes
c3daaebe24 reduce the number of submodules to the minimal required number 2016-05-20 13:10:45 +02:00
Stefan Lankes
75f6d5db09 truncate the submodule's history to 50 2016-05-20 11:36:20 +02:00
Stefan Lankes
6950824114 reduce output messages 2016-05-20 09:54:04 +02:00
Stefan Lankes
620d2e5846 increase output message to control the process 2016-05-20 09:15:19 +02:00
Stefan Lankes
fc640167e7 seperate for TravisCI the build of HermitCore in different stages 2016-05-20 08:52:50 +02:00
Stefan Lankes
3615f393c0 Merge pull request #23 from daniel-k/xray
Add Xray profiler
2016-05-18 20:01:31 +02:00
daniel-k
91603343b0 xray: implement frame labeling 2016-05-18 11:55:37 +02:00
daniel-k
341d1f39d2 openmpbench: add local gitignore 2016-05-18 01:24:30 +02:00
daniel-k
fcad98a10c openmpbench: fix trailing whitespaces in Makefile 2016-05-18 01:24:30 +02:00
daniel-k
6e0a11373d openmpbench: implement profiling for syncbench and also change linker order 2016-05-18 01:24:30 +02:00
daniel-k
20f6597ef9 benchmarks/tests: change order of linker command so that ld doesn't discard lxray 2016-05-18 01:24:30 +02:00
daniel-k
2d25046353 xray: conditionally forward compiler/linker flags to enable xray profiling
You have to set the variable PROFILING to something to enable profiling using
Xray. In order for profiling code to be compiled into the runtime and demo
applications you must clean the whole project before.

Example:
 $ cd HermitCore
 $ make clean
 $ make PROFILING=yes

Hint: You can also export the variable (`export PROFILING=yes`) for a more
      permanent configuration.
2016-05-18 01:24:30 +02:00
daniel-k
672a4e8d88 xray: integrate into build system 2016-05-18 01:24:30 +02:00
daniel-k
0e5a1ca5f9 xray: adaptions for HermitCore 2016-05-18 01:24:30 +02:00
daniel-k
4bc311cf92 xray: import Xray profiler from Chromium Native Client 2016-05-18 01:24:30 +02:00
daniel-k
54931ea238 Makefile: start Qemu with GDB enabled by default
The serial terminal is now at port 1235 since it clashes with the port GDB
is trying to bind to. So GDB:1234 and Serial:1235
2016-05-18 01:23:12 +02:00
Stefan Lankes
083433aa15 fix wrong usage of file access header (fcntl.h)
- should fix issue #22
- add example to test file creation via fopen
2016-05-17 23:17:51 +02:00
daniel-k
8932e05ad7 [gitignore] Only ignore top-level Makefile that will be generated 2016-05-17 16:52:17 +02:00
Stefan Lankes
1575230494 Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2016-05-17 16:29:16 +02:00
daniel-k
02d748c962 [gitignore] add QtCreator project files 2016-05-17 16:24:55 +02:00
Stefan Lankes
de6f514506 remove obsolete line 2016-05-17 16:22:08 +02:00
Stefan Lankes
afade49727 protect the access to the file descriptor of the proxy 2016-05-17 00:00:06 +02:00
Stefan Lankes
81eea558ae fix bug in the calculation of written bytes 2016-05-16 23:58:41 +02:00
Stefan Lankes
b3febcb9cb add simple implementation of gettimeofday
- however, it counts the seconds since process start and not since
  January 1, 1970.
2016-05-16 23:57:31 +02:00
Stefan Lankes
7183cb8d99 fix mismatch in gnu_inline attributes
Daniel had issues compiling the HermitCore GCC (5.3) with the new host
GCC 6.1. He found a patch online that solves this:
https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00375.html
2016-05-16 14:38:46 +02:00
Stefan Lankes
f4ed4519e0 add compiler flag -maccumulate-outgoing-args to improve the performance 2016-05-16 13:36:47 +02:00
Stefan Lankes
3f2736d917 add warning if the frame is larger than the kernel stack frame 2016-05-16 13:10:50 +02:00
Stefan Lankes
bd0da75382 disable SIMD support by compiling libhermit 2016-05-16 13:07:07 +02:00
Stefan Lankes
f838a751cf clear the DF flag to adhere the x86_64 ABI 2016-05-15 07:48:30 +02:00
Stefan Lankes
07fc5e2881 disable syscall interface, HermitCore is a libOS... 2016-05-14 22:15:44 +02:00
Stefan Lankes
6e9e4782c0 remove typo 2016-05-14 20:31:23 +02:00
Stefan Lankes
5973ec7135 add FCFLAGS to build libgfortran without red zone support 2016-05-14 16:20:32 +02:00
Stefan Lankes
a5e63174b0 remove typo 2016-05-14 16:02:06 +02:00
Stefan Lankes
672eada76e disable TLB flush => no required in a single-address space OS 2016-05-14 09:20:43 +02:00
Stefan Lankes
3c79ad7aa0 detect stack overflow by adding a guard page 2016-05-14 09:13:39 +02:00
Stefan Lankes
ecce99e54c unhandled exceptions terminate also the proxy
=> proxy is able to reregister the cores to Linux
2016-05-14 09:12:50 +02:00
Stefan Lankes
387c3beb3f remove typo, fine tuning of the stack alignment 2016-05-14 08:38:01 +02:00
Stefan Lankes
2699e22032 unhandled pagefaults of HermitCore apps terminate also the proxy
=> proxy is able to reregister the cores to Linux
2016-05-14 08:32:21 +02:00
Stefan Lankes
f93eb9afea Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel 2016-05-13 22:02:30 +02:00
Stefan Lankes
693aa0ad4a remove typos, add some build messages 2016-05-13 22:00:30 +02:00
daniel-k
3e6f0f42eb [Makefile] Don't start Qemu with -initrd since it is integrated into the kernel anyway 2016-05-13 18:24:46 +02:00
Stefan Lankes
a081169f9c add new output format elf64-x86-64-hermit
- gcc & Co are able to create directly HermitCore applications
- a workaround via elfedit isn't longer required
2016-05-08 00:40:20 +02:00
Stefan Lankes
de6cfd504b call in sched_yield directly the scheduler
=> reduce some overhead
2016-05-04 09:27:16 +02:00
Stefan Lankes
9d0f9bf0a1 reuse sched_yield from our pthread library 2016-05-04 09:19:26 +02:00
Stefan Lankes
b373f207e7 ignore binary of the basic benchmark 2016-05-03 20:05:02 +02:00