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

1778 commits

Author SHA1 Message Date
daniel-k
74c3d4f0ba kernel/create_task: also destroy interrupt stack on failure 2016-06-24 21:07:21 +02:00
daniel-k
0384aa3443 kernel/clone_task: also destroy interrupt stack on failure 2016-06-24 21:06:35 +02:00
Stefan Lankes
0ba2e482eb Merge remote-tracking branch 'origin' into devel 2016-06-19 00:43:40 +02:00
Stefan Lankes
2b83259da6 Merge pull request #25 from daniel-k/xray
Thanks! This helps me...
2016-06-19 00:48:52 +02:00
daniel-k
dc1761a548 gitignore: add .pyc, .callgrind and .xray 2016-06-17 14:59:08 +02:00
daniel-k
088ccbb556 xray: add a conversion tool to visualize reports with kCacheGrind 2016-06-17 14:59:08 +02:00
Stefan Lankes
08658af9fc update external libs 2016-06-10 18:51:10 +02:00
Stefan Lankes
a0fab89608 add additional debug message 2016-06-03 17:17:56 +02:00
Stefan Lankes
3dea76c4b9 add basic support of signal
currently, HermitCore is only able to raise signals to itself
2016-06-03 17:16:20 +02:00
Stefan Lankes
a2b36849d9 create for each task an interrupt stack table (IST1)
Currently, "user-level" code has to deactivate the red zone support.
To avoid this, we create an interrupt stack table (IST1), which is
the default stack for all interrupts. Consequently, the common stack
isn't touch by handling any interrupt and the red-zone could be used
for compiler optimizations.

By using IST1, nested interrupts (beside NMI) arn't longer supported.
But HermitCores doesn't rely on this support.
2016-06-03 06:24:46 +02:00
Stefan Lankes
b17b74fe49 fix cache line size to 64 byte 2016-06-02 17:11:22 +02:00
Stefan Lankes
d21bbeec74 switch to gcc 5.3.1 2016-06-02 10:22:20 +02:00
Stefan Lankes
2ec60a7602 fix the calucaltion of VMA's lower border 2016-05-31 04:41:16 +02:00
Stefan Lankes
629a42dc4b vma_add resize the region if the predecessor has the same start address 2016-05-31 04:37:38 +02:00
Stefan Lankes
0f4ed50569 newlib doesn't longer define fd_set
=> the definition of _POSIX_SOURCE isn't longer required
2016-05-31 00:30:49 +02:00
Stefan Lankes
bb07c7c7a4 includ stdint.h to be sure that alle types are defined 2016-05-31 00:29:21 +02:00
Stefan Lankes
5543f477de reduce the output only on TravisCI 2016-05-26 10:52:22 +02:00
Stefan Lankes
82d5ec690e add function for the stack creation, protect stack by the NX flags 2016-05-26 10:04:45 +02:00
Stefan Lankes
82017fe436 fix bug in resizing and splitting of a VMA regions 2016-05-26 10:03:13 +02:00
Stefan Lankes
8eb597d0c5 align vma region to the page boundary 2016-05-26 10:02:02 +02:00
Stefan Lankes
69bb0a6a1c add option to print VMA information 2016-05-26 10:00:25 +02:00
Stefan Lankes
6a2d7e4727 create VMA region by increasing the heap 2016-05-23 23:50:43 +02:00
Stefan Lankes
966a40e6d0 remove obsolete debug messages 2016-05-22 11:08:21 +02:00
Stefan Lankes
895cd14983 remove obsolete line 2016-05-22 09:10:31 +02:00
Stefan Lankes
12553532db page mapping set the no execustion flag to protect the data 2016-05-22 07:24:56 +02:00
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