Norman Feske
ed65267bc5
depot: update recipe hashes
2019-01-14 12:34:41 +01:00
Norman Feske
97e3d05f37
base-foc: fix placement of utcb area stack area
...
This commit ensures that UTCB areas of PDs are positioned relative to
the stack areas of regular components, not the one of core.
Fixes #3108
2019-01-14 12:34:41 +01:00
Norman Feske
bf62d6b896
Move timer from os to base repository
...
Since the timer and timeout handling is part of the base library (the
dynamic linker), it belongs to the base repository.
Besides moving the timer and its related infrastructure (alarm, timeout
libs, tests) to the base repository, this patch also moves the timer
from the 'drivers' subdirectory directly to 'src' and disamibuates the
timer's build locations for the various kernels. Otherwise the different
timer implementations could interfere with each other when using one
build directory with multiple kernels.
Note that this patch changes the include paths for the former os/timer,
os/alarm.h, os/duration.h, and os/timed_semaphore.h to base/.
Issue #3101
2019-01-14 12:33:57 +01:00
Christian Helmuth
21a61cd583
depot: update recipe hashes
2019-01-07 12:43:37 +01:00
Norman Feske
cd29ca3c40
base: add List_model::apply_first
...
The new 'apply_first' method enables users of the list model to manually
traverse the list model via the 'Element::next' method instead of
iterating via 'for_each'. This is needed in situations where the
list-model elements are visited via recursion, not via a loop.
Issue #3094
2019-01-07 12:33:56 +01:00
Stefan Kalkowski
7f1692b3ca
core: support unmap of managed dataspace generally
...
This commit solves several issues:
* correct calculation of overlap region when detaching regions
in managed dataspaces
* prevent unmap of Fiasco.OC's core log buffer
* calculate the core-local address of regions in managed dataspaces
if possible at all and use it to unmap on kernels where this is
needed
Fix #976
Fix #3082
2019-01-07 12:33:56 +01:00
Christian Prochaska
a5547e5b1d
base: improve floating point output
...
Fixes #2876
2019-01-07 12:33:54 +01:00
Sebastian Sumpf
3347d08b79
ldso: cleanup if loading of 'Shared_object' fails
...
This can happen, for example, during 'dlopen' if unresolved symbols are
present.
* Unload already loaded shared libraries
* Delete dependencies
* Flush initializer list (ctors)
fixes #3073
2019-01-07 12:33:54 +01:00
Christian Prochaska
9c8e76b190
base: 'sanitizer' test
...
Issue #3072
2019-01-07 12:33:54 +01:00
Christian Prochaska
5569d2ddc2
mk: add 'SANITIZE_UNDEFINED' option
...
'SANITIZE_UNDEFINED = yes' in 'target.mk' adds the '-fsanitize=undefined'
compiler flag and links the program with libubsan and libsanitizer_common.
Issue #3072
2019-01-07 12:33:54 +01:00
Christian Prochaska
97d8bea5ec
gcov: print selected annotated source files only
...
Fixes #3070
2019-01-07 12:25:46 +01:00
Alexander Boettcher
67fd3333e2
base: avoid null pointer reference warning
...
Issue #3022
2019-01-07 12:25:45 +01:00
Alexander Boettcher
1ec0619b3e
base: avoid warnings in fifo.h
...
error: member 'Element' found in multiple base classes of different types
Issue #3022
2019-01-07 12:25:45 +01:00
Alexander Boettcher
c2d54aaede
base: avoid null pointer warning in avl tree
...
Issue #3022
2019-01-07 12:25:45 +01:00
Alexander Boettcher
7536b665f1
core: avoid null pointer reference warning
...
Issue #3022
2019-01-07 12:25:44 +01:00
Martin Stein
79ca4e1718
init: show args on "denied env session" error
...
It can be hard to resolve "denied env session" errors when you don't have the
session label.
2019-01-07 12:25:43 +01:00
Martin Stein
7f959a06f6
depot_autopilot: tune for multi-platform support
...
Issue #3027
2019-01-07 12:25:43 +01:00
Emery Hemingway
8cb8082206
Remove Nim support from toolchain
...
Nim components are best build externally using the Nimble tools and a
Genode SDK.
See https://github.com/ehmry/nim-genode
Fix #2949
2019-01-07 12:25:42 +01:00
Emery Hemingway
9c7d5b2a66
Implement print and min/max for Microseconds and Milliseconds
...
Ref #3050
2019-01-07 12:25:42 +01:00
Christian Helmuth
11eecdc7bd
depot: update recipe hashes
2018-11-29 11:54:31 +01:00
Stefan Kalkowski
34480c9269
test-rm_fault: use ld.lib.so to test read-only mem
...
Due to the changing environment this test is executed (like depot_autopilot)
the binary test-rm_fault used to check ROM dataspace's read-only property
does not suit anymore. This commit changes the binary to ld.lib.so that is
normally still provided as a ROM dataspace.
Ref #3027
2018-11-29 11:54:31 +01:00
Johannes Kliemann
db162477a4
ada: fix exception handling
...
Fixes #3061
2018-11-29 11:54:31 +01:00
Stefan Kalkowski
d7fa4cfb8b
hw: enable eager FPU context switch for ARM
...
* Add an ieee754 FPU test
* Remove simple fpu test
Fix #2822
2018-11-29 11:54:31 +01:00
Johannes Schlatow
4e375ec6df
zynq: move RAM size to board defs
2018-11-29 11:46:02 +01:00
Christian Prochaska
fe322b8e82
test-xml_generator: enable code coverage analysis
...
Issue #3048
2018-11-29 11:46:01 +01:00
Christian Prochaska
1f985dec38
mk: add 'COVERAGE' option
...
'COVERAGE=yes' in 'target.mk' adds gcov-specific compiler flags and links the
program with libgcov.
Issue #3048
2018-11-29 11:46:01 +01:00
Martin Stein
c405ec19ce
pkg/test-rm_fault: event "Error: could modify ROM"
2018-11-27 11:36:36 +01:00
Martin Stein
abd3855161
test/rm_nested: fix EP double dissolve
...
Fixes #3045
2018-11-27 11:36:35 +01:00
Stefan Kalkowski
a062ba6dd2
base: add tlb shootdown test metric to smp test
...
Fix #3041
2018-11-27 11:36:35 +01:00
Stefan Kalkowski
36fe50ebad
base: unify mp_server and affinity test
...
* remove outdated cpufreq test for Arndale
* execute new SMP test on hardware not in Qemu in nightly tests
Ref #3041
2018-11-27 11:36:35 +01:00
Norman Feske
19d7a488de
init: health monitoring of child components
...
Fixes #3039
2018-11-27 11:36:34 +01:00
Stefan Kalkowski
d56a7beadc
hw: increase cpu frequency on Wandboard Quad
...
Ref #1807
2018-11-16 15:17:06 +01:00
Christian Helmuth
70e7499e48
depot: update recipe hashes
2018-11-16 15:07:53 +01:00
Martin Stein
2d041ac0fc
depot_autopilot: evaluate sets of test packages
2018-11-16 15:07:53 +01:00
Martin Stein
146f45f3d4
Archive recipes for autopilot tests
2018-11-16 15:07:53 +01:00
Martin Stein
a1ff3cc317
base-foc: recipes for ARMv7a platforms
...
* In base-foc/recipes/src/ replace base-foc with base-foc-pc
* To base-foc/recipes/src add base-foc-arndale, base-foc-pbxa9
* Ensure that the correct base-foc recipe is choosen by the run module
'boot_dir/foc'
2018-11-16 14:37:47 +01:00
Martin Stein
4e29c1ca40
test/xml_node: move to base
2018-11-16 14:37:19 +01:00
Martin Stein
ed1cec2efa
test/xml_generator: move to base
2018-11-16 14:37:19 +01:00
Martin Stein
510d7644fa
test/weak_ptr: move to os/ as it uses a timer
2018-11-16 14:37:19 +01:00
Martin Stein
0b8ea50589
test/slab: move to os/ as it uses timer driver
2018-11-16 14:37:19 +01:00
Martin Stein
0eef5b506c
test-util_mmio: rename test-mmio
2018-11-16 14:37:19 +01:00
Martin Stein
590dc1ac59
test/util_mmio: simplify success conditions
2018-11-16 14:37:19 +01:00
Martin Stein
f439cf0de1
test/rm_nested: destroy all objects before finish
...
Explicit destruction of test objects (esp. RM connection) tests for
regressions in the service life-time implementation.
Issue #3012
2018-11-16 14:37:19 +01:00
Martin Stein
5e8c53f61c
base_types.xsd: allow session labels of length 0
2018-11-16 14:37:19 +01:00
Alexander Boettcher
f53a56982c
clang: use template keyword on template methods
...
avoids tons of warnings
Issue #3022
2018-11-16 14:37:18 +01:00
Alexander Boettcher
886619f63e
base: set parent info in child_process solely once
...
clang:
warning: Value stored to 'parent_info' is never read
Issue #3022
2018-11-16 14:37:18 +01:00
Alexander Boettcher
f7364d8463
base: avoid warnings in list.h
...
clang:
error: member 'Element' found in multiple base classes of different types
Issue #3022
2018-11-16 14:37:18 +01:00
Alexander Boettcher
fc0dbc3f70
base: avoid null pointer warnings
...
warning: Called C++ object pointer is null
Issue #3022
2018-11-16 14:37:18 +01:00
Alexander Boettcher
17f7147ac1
base: avoid warnings about shift operations
...
clang:
warning: The result of the '<<' expression is undefined
2018-11-16 14:37:18 +01:00
Alexander Boettcher
4b62f091a9
base: fix accessibility of enum in bit_array.h
...
avoids warning by clang:
error: 'BITS_PER_WORD' is a private member of 'Genode::Bit_array_base'
Issue #3022
2018-11-16 14:37:18 +01:00