Norman Feske
645cd88a8b
gems/menu_view: adaptation to new libc/vfs config
...
Issue #2217
2017-01-23 16:46:04 +01:00
Norman Feske
ddcc1cf6aa
gems/png_image.h: fix context pointer handling
...
This patch fixes a problem that unsurfaced by the commit "menu_view: API
transition", which changed the class layout of the 'Png_image' so that
the 'Read_struct' pointer is no longer equal to the 'Png_image' pointer.
2017-01-23 16:46:04 +01:00
Norman Feske
e43da51bd6
base: handle dangling env sessions in ~Child
...
This commit addresses the situation where an environment session
outlives the session-providing service. In this case, the env session
got already invaidated at the destruction time of the server. However,
the underlying session-state structure continues to exist until the
client is destructed. During the eventual destruction of such a dangling
environment session, we have to be careful not to interact with the
no-longer existing service.
Ref #2197
2017-01-20 16:47:01 +01:00
Norman Feske
21458e6efa
base: destruction of env-session-providing child
...
This patch addresses the corner case of destructing a child that
provides an enviroment session to another child. Before this patch,
this situation could result in an infinite loop.
The problem was introduced as a side effect of issue #2197 "base: apply
routing policy to environment sessions".
2017-01-20 16:47:00 +01:00
Norman Feske
94d991277f
launchpad: distinguish unique name from elf name
...
This patch re-enables the launchpad to start multiple instances of the
same program. Without it, launchpad wrongly requests the binary ROM with
the child's unique name as label. The lookup of the first instance
solely succeeds because the unique name equals the binary name.
2017-01-20 16:47:00 +01:00
Reto Buerki
0938d69192
muen: Build sinfo code as static sinfo-muen library
...
And link it with core and virtualbox.
2017-01-20 16:47:00 +01:00
Reto Buerki
eec2cb34f8
Replace have_spec hw_x86_64_muen with have_spec muen
2017-01-20 16:46:59 +01:00
Christian Prochaska
1e2fb9432f
terminal_crosslink: API transition
...
Fixes #2241
2017-01-20 16:46:59 +01:00
Christian Prochaska
dbb641d44a
terminal session: return number of bytes written
...
To better support non-blocking terminal components, let the
'Terminal::Session::write()' function return the number of bytes
actually written.
Fixes #2240
2017-01-20 16:46:59 +01:00
Christian Prochaska
9f7a4feab4
test/terminal_crosslink: API transition
...
Issue #1987
2017-01-20 16:46:59 +01:00
Martin Stein
3e8cd442a3
test/cpu_quota: API transition
...
Fixes #2239
2017-01-20 16:46:58 +01:00
Christian Prochaska
ec5dbe66db
trace_fs: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:58 +01:00
Christian Prochaska
5cc036e6ca
rom_prefetcher: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:58 +01:00
Christian Prochaska
14ed670916
ram_fs: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:58 +01:00
Christian Prochaska
201bfabdac
os/include/file_system_session: API transition (fix 'deprecated' warnings)
...
...and adaptation of the users of 'File_system::Session_rpc_object' to the
modified interface.
Issue #1987
2017-01-20 16:46:58 +01:00
Christian Prochaska
344f6f9e53
os/include/block: API transition (fix 'deprecated' warnings)
...
...and adaptation of the users of 'Block::Driver', 'Block::Root' and
'Block::Session_component' to the modified interface.
Issue #1987
2017-01-20 16:46:57 +01:00
Christian Prochaska
fb744e7423
loader: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:57 +01:00
Christian Prochaska
c1246c4c95
gdb_monitor: fix build error
...
Fixes #2227
2017-01-20 16:46:57 +01:00
Emery Hemingway
2351aef744
server/terminal_log: API transition
...
Ref #1987
2017-01-20 16:46:57 +01:00
Christian Helmuth
212cf856a5
Wifi driver libraries require x86
2017-01-20 16:46:57 +01:00
Christian Helmuth
dfc7c4b60b
qt_launchpad: remove PWRN()
2017-01-20 16:46:56 +01:00
Christian Prochaska
4e07f612cf
part_blk: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:56 +01:00
Christian Prochaska
dbb56a8068
nit_fb: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:56 +01:00
Christian Prochaska
cdcfc120cb
nic_router: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:56 +01:00
Christian Prochaska
9be07d2244
os/include/nic: API transition (fix 'deprecated' warnings)
...
...and adaptation of the users of 'Nic::Root' and 'Nic::Session_component'
to the modified interface.
Issue #1987
2017-01-20 16:46:56 +01:00
Christian Prochaska
a63217b216
nic_bridge: API transition (remove 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:56 +01:00
Christian Prochaska
33eefc4404
mixer: API transition (fix 'deprecated' warning)
...
Issue #1987
2017-01-20 16:46:55 +01:00
Christian Prochaska
cf4b663b38
log_terminal: API transition
...
Issue #1987
2017-01-20 16:46:55 +01:00
Emery Hemingway
18504b4801
merge lib/config_args with lib/posix
...
Merging the config_args library with the POSIX library supplies
'argc' and 'argv' arguments to components using a 'main' entry.
Fix #2218
Ref #1987
2017-01-20 16:46:55 +01:00
Christian Prochaska
7948a7261b
ldso: constrain second linker symbol relocation pass on x86_64
...
Handle only GLOB_DAT relocations in the second relocation pass, like it is
done on x86_32 and ARM.
Fixes #2219
2017-01-20 16:46:55 +01:00
Christian Prochaska
e89cab4433
dynamic_rom: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:54 +01:00
Christian Prochaska
12c5982e2b
test/rtc: API transition
...
Issue #1987
2017-01-20 16:46:54 +01:00
Christian Prochaska
101d0fee7c
log_report: API transition
...
Issue #1987
2017-01-20 16:46:54 +01:00
Christian Prochaska
60aebe3005
rtc_drv: API transition (fix 'deprecated' warnings)
...
Issue #1987
2017-01-20 16:46:54 +01:00
Martin Stein
c16ee836cf
test/timer: update to new API
...
Fixes #2231
2017-01-13 13:07:17 +01:00
Alexander Boettcher
6b2dcffdac
acpica: API transition
...
Issue #1987
2017-01-13 13:07:16 +01:00
Norman Feske
703d68c7c1
themed_decorator: API transition
...
Issue #1987
2017-01-13 13:07:16 +01:00
Norman Feske
7180851b2f
menu_view: API transition
...
Issue #1987
2017-01-13 13:07:16 +01:00
Norman Feske
81862a41e1
decorator: API transition
...
Issue #1987
2017-01-13 13:07:16 +01:00
Norman Feske
99bfc3c0e2
test/decorator_stress: API transition
...
Issue #1987
2017-01-13 13:07:15 +01:00
Norman Feske
36db1866a2
scout/launchpad/liquid_fb/nitlog: API transition
...
Issue #1987
2017-01-13 13:07:15 +01:00
Alexander Boettcher
188cab7d3a
vbox: distinguish muen, nova and generic binaries
2017-01-13 13:07:14 +01:00
Norman Feske
4bfdfbb42a
lx_hybrid: API transition
...
Issue #1987
2017-01-13 13:07:14 +01:00
Norman Feske
6f6f68f216
nitpicker/wm: fix session_control mechanism
...
The session-control mechanism is based on the way how sessions are
labeled. In #2171 , we changed the labeling to be more strict. In
particular, label-less sessions do no longer exist.
Unfortunately, nitpicker and the window manager still handled the former
weaker labeling, which ultimately led to a situation where any
session-control argument would mismatch. The behavior could be observed
in the launcher.run script where a click on the subsystem button would
not focus the clicked-on subsystem. With the patch, the scenario works
again as expected.
2017-01-13 13:07:14 +01:00
Norman Feske
28d497549c
report_rom/clipboard: API transition
...
Issue #1987
2017-01-13 13:07:14 +01:00
Alexander Boettcher
1cfeb41f14
acpi_drv: Genode API transition
...
Issue #1987
2017-01-13 13:07:13 +01:00
Norman Feske
5f25718e8c
test/xml_node: API transition
...
Issue #1987
2017-01-13 13:07:13 +01:00
Sebastian Sumpf
6fa6d72c0b
rump_fs: Transition to new API
...
The rump libraries and the rump_fs component are now conform to the new base
API. Also the I/O back end should be running stable now.
issue #2224
2017-01-13 13:07:13 +01:00
Norman Feske
a7f40b24ca
Warn about the use of deprecated env() function
...
This patch enables warnings if one of the deprecate functions that rely
in the implicit use of the global Genode::env() accessor are called.
For the time being, some places within the base framework continue
to rely on the global function while omitting the warning by calling
'env_deprecated' instead of 'env'.
Issue #1987
2017-01-13 13:07:13 +01:00
Emery Hemingway
4c7ab07480
Rump kernel VFS plugin
...
Tests at libc_vfs_ext2, libc_vfs_fs_ext2.
Fix #1752
Ref #2224
2017-01-13 13:07:12 +01:00
Emery Hemingway
ec6cff7ba8
label timer session requests
...
Ref #1752
Ref #2224
2017-01-13 13:07:12 +01:00
Emery Hemingway
07cb4b2a4e
server/terminal: API transition
...
The key repeat and flush handling was added by Norman Feske.
Ref #1987
2017-01-13 13:07:12 +01:00
Norman Feske
5e75ac4f87
timeout: change timer resolution from 100 to 5 ms
...
Issue #2225
2017-01-13 13:07:12 +01:00
Norman Feske
7646737833
test/resource_request: API transition
...
Ref #1987
2017-01-13 13:07:11 +01:00
Norman Feske
82e6d7cf52
noux: API transition
...
This patch removes the dependency of the deprecated Genode API,
fixes the coding style, and removes the "random" file system
(superseded by the VFS plugin mechanism).
Ref #1987
2017-01-13 13:07:11 +01:00
Emery Hemingway
f957fcdd98
use Attached_dataspace at audio streams
...
Ref #1987
2017-01-13 13:07:10 +01:00
Emery Hemingway
1f019d65d3
app/openvpn: update to new APIs
...
Replace Thread_deprecated, env()->heap().
Ref #1987
2017-01-13 13:07:10 +01:00
Josef Söntgen
a9a8bb0d8f
iso9660: use new component APIs
...
Issue #1987 .
2017-01-13 13:07:10 +01:00
Josef Söntgen
b87a82784c
dynamic_rom: use local env for Timer connection
...
Issue #1987 .
2017-01-13 13:07:10 +01:00
Josef Söntgen
7cc754191a
blk_cache: remove global env accessor usage
...
Issue #1987 .
2017-01-13 13:07:09 +01:00
Stefan Kalkowski
e960b06214
os: transition to new API for audio and blk tests
...
* removes the outdated, unused alarm test
Ref #1987
2017-01-13 13:07:09 +01:00
Stefan Kalkowski
15171eaac6
os: transition to new API for vmm (ref #1987 )
2017-01-13 13:07:09 +01:00
Stefan Kalkowski
128cd852b7
intel_fb: only build library on x86 (ref #2222 )
2017-01-13 13:07:08 +01:00
Alexander Boettcher
0a32fcf4e0
vbox: avoid using deprecated env()
...
Issue #1987
2017-01-13 13:07:08 +01:00
Norman Feske
73837ef56a
init: print error for denied environment sessions
...
Fixes #2214
2017-01-13 13:07:08 +01:00
Josef Söntgen
06a4411196
omap4_fb: use new base APIs
...
Issue #1987 .
2017-01-13 13:07:08 +01:00
Josef Söntgen
1946f558c9
rpi_fb: use new base APIs
...
Issue #1987 .
2017-01-13 13:07:07 +01:00
Josef Söntgen
55cfa22ac9
pl11x_fb: use new base APIs
...
Issue #1987 .
2017-01-13 13:07:07 +01:00
Stefan Kalkowski
aa004cf211
base: transition to new API for tests (ref #1987 )
2017-01-13 13:07:07 +01:00
Martin Stein
d07cd0e88e
sd_card: re-factorizea and clean up
...
Merge the platform-specific files and classes (they merely aggregated
themselves) so that each platform provides merely one class
Sd_card::Driver. Also, the Sd_card::Driver_base class is introduced for
the generic parts of Sd_card::Driver.
Ref #2206
2017-01-13 13:07:07 +01:00
Martin Stein
b33c35a003
sd_card: get rid of wait_for_irq
...
Most implementations use a Signal_handler now to acknowledge the packet
instead of waiting for the transfer completion. The exceptions to that are
the non-DMA implementations for RPI and PL180
Ref #2206
2017-01-13 13:07:06 +01:00
Martin Stein
9e1f3259c5
sd_card: make main.cc generic
...
The previous platform-specific implementations differed only in minor aspects.
Ref #2206
2017-01-13 13:07:06 +01:00
Martin Stein
613f4171f3
sd_card: i.MX6 support
...
The i.MX6 driver shares most of its code with the i.MX53 driver.
Ref #2206
2017-01-13 13:07:06 +01:00
Martin Stein
7bebb9cfb7
sd_card_bench: make generic + move to os/src/test
...
The test was previously implemented platform specific in sub-dirs of
drivers/sd_card.
Ref #2206
2017-01-13 13:07:05 +01:00
Martin Stein
5aad63c6e8
sd_card: use library instead of REQUIRES
...
Ref #2206
2017-01-13 13:07:05 +01:00
Martin Stein
8c1e2f0555
regulator: add missing inline and static constexpr
...
The exynos5/consts header defined global symbols. If included by
multiple compilation units, this lead to multiple-definition errors.
Ref #2206
2017-01-13 13:07:05 +01:00
Norman Feske
a9eecc1a2d
nic_loopback: API transition
...
Ref #1987
2017-01-13 13:07:04 +01:00
Christian Prochaska
7a0bcbbccb
gdb_monitor: API transition
...
Issue #1987
2017-01-13 13:07:04 +01:00
Alexander Boettcher
537dde1f40
seoul: remove deprecated env and config usage
...
Issue #1987
2017-01-13 13:07:04 +01:00
Stefan Kalkowski
7eb6ef226f
python: do not use libc internal symbol in test
2017-01-13 13:07:03 +01:00
Stefan Kalkowski
6775b4077d
os: platform_drv (arm) API transition (ref #1987 )
2017-01-13 13:07:03 +01:00
Norman Feske
3ae19a9eb7
loader: API transition
...
Ref #1987
2017-01-13 13:07:03 +01:00
Norman Feske
b7474bceff
test/xml_generator: API transition
2017-01-13 13:07:03 +01:00
Norman Feske
fa1a105d64
init: API transition
...
Ref #1987
2017-01-13 13:07:02 +01:00
Emery Hemingway
9bae4823a0
os/packet_stream: avoid global env
...
Pass an explicit Region_map reference to stream constructors.
Issue #1987
Issue #2034
2017-01-13 13:07:02 +01:00
Josef Söntgen
ce3170f3f7
exynos_fb: use new base APIs
...
In addition to that we now busy wait, i.e. poll, for interrupts
instead of using the IRQ session. That is fine because interrupts
were only used while configuring the HDMI over I2C and are not used
while normal operation.
Issue #1987 .
2017-01-13 13:07:02 +01:00
Josef Söntgen
834e47d2cf
fb_sdl: remove deprecated APIs
...
Issue #1987 .
2017-01-13 13:07:02 +01:00
Emery Hemingway
745eb89237
lib/component: pass extended Libc::Env
...
Libc::Env is the Genode::Env interface extended to cover access
to the XML content of the 'config' ROM and a VFS instance. This
deduplicates the burden of components to attain and manage
these resources.
Fix #2217
Ref #1987
2017-01-13 13:07:01 +01:00
Stefan Kalkowski
fc273f3840
run: remove vanished kernel/platform specifier
2017-01-13 13:07:01 +01:00
Alexander Boettcher
fa834e34eb
acpica: remove deprecated env() usage
...
Issue #1987
2017-01-13 13:07:01 +01:00
Christian Helmuth
bfbfa86cd4
Adapt USB terminal to component API
...
Issue #1987
2017-01-13 13:07:01 +01:00
Norman Feske
48f216f481
vbox_pointer: API transition
...
Ref #1987
2017-01-13 13:07:00 +01:00
Norman Feske
e91170a49c
app/cli_monitor: API transition
...
Besides updating CLI monitor to the new API, the patch removes
Fiasco.OC-specific extensions that remained unused for a long time.
Ref #1987
2017-01-13 13:07:00 +01:00
Norman Feske
7f5e2c2eb2
Remove app/xvfb and lib/xev_track
...
The xvfb support remained unused for years. So let's remove it.
2017-01-13 13:07:00 +01:00
Emery Hemingway
3268a16d13
server/nit_fader: API transition
...
Ref #1987
2017-01-13 13:06:59 +01:00
Emery Hemingway
98ff4e3ce2
app/xray_trigger: API transition
...
Ref #1987
2017-01-13 13:06:59 +01:00
Emery Hemingway
f22deb3714
app/status_bar: API transition
...
Ref #1987
2017-01-13 13:06:59 +01:00
Emery Hemingway
d8e36bb808
test/nitpicker: API transition
...
Ref #1987
2017-01-13 13:06:59 +01:00
Emery Hemingway
3e2e2ee2fe
app/pointer: API transition
...
Ref #1987
2017-01-13 13:06:58 +01:00
Emery Hemingway
811bd1561b
server/nitpicker: API transition
...
Ref #1987
2017-01-13 13:06:58 +01:00