Norman Feske
7932c76d85
nitpicker: add event service
...
Issue #3812
2020-08-25 11:49:43 +02:00
Norman Feske
66c520cdae
Remove stale virtualbox_nic_router.run script
...
The run script is not regularly tested and thereby has become
nonoperational since a long time.
2020-08-25 11:49:43 +02:00
Christian Helmuth
9453287a6b
libc: move current working directory into kernel
2020-08-25 11:49:43 +02:00
Christian Helmuth
40e936911f
libc: remove unused member from Errno
2020-08-25 11:49:43 +02:00
Christian Helmuth
d9121e50c3
libc: translate file-descriptor exhaustion into EMFILE
...
Fixes #3841
2020-08-25 11:49:43 +02:00
Christian Helmuth
cb15f40028
Remove remnants of libc_lxip
...
Issue #2960
2020-08-25 11:49:42 +02:00
Alexander Boettcher
ce1d0464b8
ssh_terminal: destroy libc fd within user context
...
Fixes #3840
2020-08-25 11:49:42 +02:00
Alexander Boettcher
bed531b604
libc: initialize tv struct in pselect
...
Fixes #3839
2020-08-25 11:49:42 +02:00
Christian Helmuth
257b3b6775
libc: cleanup monitor implementation
...
- Explicit types for function and monitor execution results
- Remove pending flag and mutex (pending flag was moved to kernel)
2020-08-25 11:49:42 +02:00
Christian Helmuth
420ed91480
linux_nic_drv: stop receiver thread on congested queue
...
Otherwise, the thread spins on and drops packets.
2020-08-25 11:49:42 +02:00
Christian Prochaska
c6b17be744
vfs/lwip: clear the packet queue in '~Udp_socket_dir()'
...
Fixes #3836
2020-08-25 11:49:42 +02:00
Christian Helmuth
d266f44ef3
libc: free resources on socket creation failure
...
Issue #3766
2020-08-25 11:49:42 +02:00
Christian Helmuth
5a2ac73b69
vfs/lwip: prevent pbuf leakage on ENOTCONN
...
Issue #3766
2020-08-25 11:49:42 +02:00
Christian Helmuth
7996fc45f3
vfs/lwip: signal ENOTCONN via EOF on remote file
...
Issue #3766
2020-08-25 11:49:42 +02:00
Alexander Boettcher
a03a37b1d9
vfs/lwip: avoid leaking of pbuf objects
...
Issue #3766
2020-08-25 11:42:37 +02:00
Christian Helmuth
76ac94f4f2
vfs/lwip: fix pbuf slab-block size
...
Issue #3766
2020-08-25 11:42:37 +02:00
Alexander Boettcher
f4d3231034
cpu_sampler: handle all quota upgrades
...
Beforehand cap_quota upgrades got ignored which leads to non working clients.
Issue #3826
2020-08-25 11:42:37 +02:00
Alexander Boettcher
b7ffeb51aa
cpu_sampler: avoid spinning on unavailable state
...
Fixes #3826
2020-08-25 11:42:37 +02:00
Alexander Boettcher
ed15a46ca4
base: construct child process only once
...
Fixes #3821
2020-08-25 11:42:36 +02:00
Alexander Boettcher
c55a499009
base: remove delayed dispatch from Rpc_entrypoint
...
Fixes #3833
2020-08-25 11:42:36 +02:00
Alexander Boettcher
d1be1281bc
os: use whole memory in Packet_allocator
2020-08-25 11:42:36 +02:00
Christian Prochaska
377dadd461
libc_getaddrinfo.run: fix run script
...
Fixes #3832
2020-08-25 11:42:36 +02:00
Christian Prochaska
353baa9251
libc: add pthread alias functions with underscore
...
The libc calls pthread functions with underscore internally.
Issue #725
2020-08-25 11:42:36 +02:00
Alexander Boettcher
60106ac2c8
base: avoid deadlock and page fault
...
Fixes #3830
2020-08-25 11:42:29 +02:00
Christian Helmuth
de7d4a5523
Replace libc_pipe plugin by VFS pipe plugin
2020-07-30 08:49:24 +02:00
Christian Prochaska
9b6cc75f1c
tool/seccomp: allow 'restart_syscall' on x86_64
...
Fixes #3831
2020-07-30 08:49:23 +02:00
Christian Helmuth
18b26ff595
vfs/pipe: never report read_ready on pipe/out handle
2020-07-30 08:49:23 +02:00
Christian Helmuth
e44ffa02c9
libc: remove redundant dummies (fstatat, stat)
2020-07-30 08:49:23 +02:00
Christian Helmuth
5122917d62
os: declare Path::max_len() const
2020-07-30 08:49:23 +02:00
Alexander Boettcher
3639a1af80
acpi_drv: avoid out-of-bound access to FADT table
...
Fixes #3829
2020-07-30 08:49:23 +02:00
Alexander Boettcher
851b842033
vbox5-generic: use pthread_cond_timedwait for halt
...
use similar implementation as introduced for vbox5-nova
vbox5-nova: avoid Blocking_canceled exception
Related to #3810
2020-07-30 08:49:23 +02:00
Alexander Boettcher
072a00ba18
vbox5: remove ubuntu 14_04 test
2020-07-30 08:49:23 +02:00
Alexander Boettcher
7e0b66835b
vbox5: show serial for ubuntu VMs during autopilot
2020-07-30 08:49:23 +02:00
Alexander Boettcher
73e671893b
nova: remove obsolete local vcpu case
...
Seoul was the last user of Vcpu_same_pd
2020-07-30 08:49:23 +02:00
Christian Prochaska
fd682cd470
hw: check descriptor validity in LPAE lookup
...
Fixes #3828
2020-07-30 08:49:23 +02:00
Norman Feske
bfd94d64ba
pbxa9_drivers: add blit api
...
This is a follow-up fix of "Turn framebuffer drivers into capture
clients".
Fixes #3813
2020-07-30 08:49:23 +02:00
Piotr Tworek
d8539af412
platform_session: Add missing include.
...
The code uses Genode::Attached_dataspace but fails to include header
defining this type.
Fixes #3824
2020-07-30 08:49:23 +02:00
Norman Feske
cd7a6fc9fe
pkg/drivers_interactive-muen: use capture session
...
This is follow-up commit to "Turn framebuffer drivers into capture
client".
Issue #3813
2020-07-30 08:49:23 +02:00
Alexander Boettcher
41380ff769
base: remove Cancelable_lock
...
- base/cancelable_lock.h becomes base/lock.h
- all members become private within base/lock.h
- solely Mutex and Blockade are friends to use base/lock.h
Fixes #3819
2020-07-30 08:49:23 +02:00
Alexander Boettcher
0ed7367c97
vbox5-nova: avoid using semaphore used by Lock
...
Issue #3819
2020-07-20 15:59:47 +02:00
Alexander Boettcher
eab09a2f7c
nova: avoid Blocking_canceled exception in timer
...
Issue #3819
2020-07-20 15:59:47 +02:00
Norman Feske
de795b1a6e
depot: update recipe hashes
2020-07-13 11:33:53 +02:00
Alexander Boettcher
73546a135a
seoul: increase VMM memory for vm_stress*
...
The memory was not sufficient if more than 2 vcpus are used. The test starts
up to 4 vCPUs.
2020-07-13 11:33:15 +02:00
Alexander Boettcher
c888d856ee
vbox5*.run: disable in autopilot usb usage
...
to avoid to spam the log with usb messages about our usb dongle sending
regularly input events
2020-07-13 11:33:15 +02:00
Norman Feske
c81af531a3
Turn framebuffer drivers into capture clients
...
This patch replaces the use of the "Framebuffer" session interface by
the new "Capture" session interface in all framebuffer drivers. Thanks
to this change, those drivers have become mere clients of the nitpicker
GUI server now, and are no longer critical for the liveliness of the GUI
server.
The patch touches the following areas:
- The actual driver components. The new versions of all drivers have
been tested on the respective hardware. Generally, the drivers
have become simpler.
- The drivers_interactive packages for various boards. The drivers
subsystem no longer provides a "Framebuffer" service but needs a
valid route to the "Capture" service provided by nitpicker.
- The driver manager of Sculpt OS.
- This patch changes the role of the test-framebuffer component from a
framebuffer client to a capture server so that drivers (capture clients)
can be directly connected to the test component without the nitpicker
server.
- Framebuffer driver no longer support the unbuffered mode.
- The fb_bench.run script is no longer very meaningful because it
interplays solely with nitpicker, not with the driver directly.
- All run scripts for graphical scenarios and the related depot
archives got adapted to the change.
Fixes #3813
2020-07-13 11:33:15 +02:00
Norman Feske
6743669ab8
nitpicker: report no mode smaller than 1x1 pixels
...
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
320387db89
nitpicker: improve GUI client resize handling
...
This patch replaces meta-data allocation during the resize handling by a
new 'Resizeable_texture' type that has all meta data preallocated.
It also replaces the use of pointer return values with the
'Resizeable_texture::with_texture' method.
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
4cad1a87df
nitpicker: make framebuffer and input optional
...
Nitpicker used to unconditionally request a framebuffer and input
session. With the transition to the new capture/event session
interfaces, this built-in policy does no longer suffice.
This patch introduces the attributes 'request_framebuffer="yes"' and
'request_input="yes"' (with the default values shown) to nitpicker's
<config> node. If setting those attributes to "no", nitpicker won't
request a "Framebuffer" and "Input" session respectively.
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
22cb6dded7
nitpicker: add capture service
...
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
537b317273
nitpicker: handle failed try_alloc_texture
...
Fixes #3782
2020-07-13 11:33:14 +02:00
Norman Feske
795a817a33
nitpicker: remove dirty_rect state from view stack
...
In the presence of potentially multiple output back ends, this
dirty_rect state must be maintained individually per back end. Instead
of storing the dirty_rect as view-stack member, the view stack now calls
a new 'Damage::mark_as_damaged' interface, which allows nitpicker to
propagate this information to multiple back ends. Unfortunately, the
patch must remove the per-view dirty_rect state.
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
067a7ad7e9
nitpicker: internal cleanup
...
This patch simplifies the internal naming of the nitpicker GUI server as
a preparatory step for adding support for the capture session interface.
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
3863de9589
Input-event-bridging service
...
The sole purpose of this service is the migration path from the use of
input session interface to the event session interface.
Issue #3812
2020-07-13 11:33:14 +02:00
Norman Feske
443d3c98dd
Event session interface
...
Issue #3812
2020-07-13 11:33:13 +02:00
Norman Feske
602def9bdd
Simple example for using a capture connection
...
Issue #3812
2020-07-13 11:33:13 +02:00
Norman Feske
3d1d1b439d
Capture session interface
...
Issue #3812
2020-07-13 11:33:13 +02:00
Josef Söntgen
49e907e5f6
libc: remove trailing slash in lstat and stat
...
Fixes #3814 .
2020-07-13 11:33:13 +02:00
Alexander Boettcher
c4a8c6798b
top: react on too small trace argument buffer size
...
Issue #3811
2020-07-13 11:33:13 +02:00
Alexander Boettcher
21e48a8e12
trace: extend for_each_subject_infos return value
...
Fixes #3811
2020-07-13 11:33:13 +02:00
Norman Feske
a7d170adda
os: add blit/painter.h
...
This utility eases the application of the 'blit' function when using the
'Texture' and 'Surface' types.
2020-07-13 11:33:13 +02:00
Alexander Boettcher
641679f7e7
vbox5-nova: avoid Blocking_canceled exception
...
using pthread primitives to implement block/wakeup of EMT thread
Fixes #3810
2020-07-13 11:33:13 +02:00
Christian Helmuth
ed4594c76b
Fix success/failure detection in cpu_bench testsuite
...
Issue #3785
2020-07-13 11:33:12 +02:00
Alexander Boettcher
997a77b3de
foc: use Mutex
...
Issue #3809
2020-07-13 11:33:12 +02:00
Alexander Boettcher
6fa4307005
foc: keep core internal pager state separately
...
beforehand the Lock object and more was accessible
via FOC native cpu thread RPC
Fixes #3809
2020-07-13 11:33:12 +02:00
Alexander Boettcher
f3efbe50bb
base: remove deprecated cancel_blocking() support
...
for threads.
Fixes #3806
2020-07-13 11:33:12 +02:00
Alexander Boettcher
ce6f4dffe5
linux: use Mutex
...
Fixes #3807
2020-07-13 11:33:12 +02:00
Christian Helmuth
e163055f6a
ram fs: Release node mutex on unlink
...
This is needed if an open file is unlinked.
Fixes #3800
2020-07-13 11:33:12 +02:00
Alexander Boettcher
7acc34b48b
dde_zircon: use Mutex
...
Fixes #3805
2020-07-13 11:33:12 +02:00
Alexander Boettcher
a9827c662e
dde_ipxe: use Mutex
...
Issue #3805
2020-07-13 11:33:12 +02:00
Alexander Boettcher
9a8a42e819
dde_rump: use Mutex/Blockade
...
Issue #3805
2020-07-13 11:33:12 +02:00
Alexander Boettcher
5516dbcb1f
dde_linux: use Mutex/Blockade
...
Issue #3805
2020-07-13 11:33:11 +02:00
Alexander Boettcher
b7cdb5840a
dde_bsd: remove unused Lock
...
Issue #3805
2020-07-06 14:43:05 +02:00
Alexander Boettcher
61d798c629
launchpad: use Mutex
...
Fixes #3804
2020-07-06 14:43:05 +02:00
Alexander Boettcher
973fbc98be
nitlog: use Mutex
...
Issue #3804
2020-07-06 14:43:05 +02:00
Alexander Boettcher
3d634df34d
gems: remove report_rom_slave.h
...
Fixes #3803
2020-07-06 14:43:04 +02:00
Alexander Boettcher
ad284491e6
mixer_gui_qt: use Blockade
...
Issue #3803
2020-07-06 14:43:04 +02:00
Alexander Boettcher
f946de4450
tcp_terminal: use Mutex
...
Issue #3803
2020-07-06 14:43:04 +02:00
Alexander Boettcher
377c6ed0ce
ssh_terminal: use Mutex
...
Isse #3803
2020-07-06 14:43:04 +02:00
Alexander Boettcher
1609d8a92f
gdb_server: use Mutex
...
Fixes #3802
2020-07-06 14:43:04 +02:00
Alexander Boettcher
169cad6059
seoul: use Mutex
...
Issue #3802
2020-07-06 14:43:04 +02:00
Alexander Boettcher
bba4790002
virtualbox5: use Mutex/Blockade
...
Issue #3802
2020-07-06 14:43:04 +02:00
Alexander Boettcher
c943e26913
lib/drm: use Blockade
...
Fixes #3801
2020-07-06 14:43:04 +02:00
Alexander Boettcher
7d1fd0b0a3
lwip: use Mutex
...
Issue #3801
2020-07-06 14:43:04 +02:00
Alexander Boettcher
6d653b3c0f
qemu-usb: use Mutex
...
Issue #3801
2020-07-06 14:43:04 +02:00
Alexander Boettcher
5936d00b5e
acpica: use Mutex
...
Issue #3801
2020-07-06 14:43:04 +02:00
Christian Prochaska
5af4552511
qt5: build Qt libraries and applications with qmake
...
Fixes #3795
2020-07-03 13:48:55 +02:00
Norman Feske
0310c733d5
base-linux: let seccomp permit 'read'
...
This is needed for using the 'wait_for_continue' debug mechanism.
Fixes #3798
2020-07-03 11:58:31 +02:00
Christian Helmuth
0e6c32f75e
libc: use Mutex/Blockade
...
Fixes #3796
2020-07-03 11:16:20 +02:00
Christian Helmuth
93ab972ddc
tool/seccomp: allow sigreturn on x86
...
Fixes #3799
2020-07-03 11:15:33 +02:00
Norman Feske
35c3acdf05
depot: update recipe hashes
2020-07-03 11:13:59 +02:00
Alexander Boettcher
103236fdca
nitpicker: fix memory accounting during realloc
...
Fixes #3794
2020-07-03 11:11:24 +02:00
Christian Prochaska
62848b1a68
mk: set soname in abi libraries
...
Fixes #3793
2020-07-03 11:11:23 +02:00
Alexander Boettcher
64ef651d4d
libc: handle MSG_WAITALL in socket_fs_plugin
...
Fixes #3774
2020-07-03 11:11:23 +02:00
Emery Hemingway
1a620acc17
libc: add newlocale and freelocale dummies
...
Fix #3777
2020-07-03 11:11:23 +02:00
Christian Prochaska
6e71208db3
libc: fix timeout calculation in 'ppoll()'
...
Fixes #3791
2020-06-30 09:15:53 +02:00
Christian Helmuth
8e205e0324
sel4: assignment of BOARD as effective override
...
Issue #3792
2020-06-30 09:11:57 +02:00
Christian Prochaska
9578fadae2
libc: handle nullptr timeout in 'ppoll()'
...
Fixes #3790
2020-06-29 16:59:35 +02:00
Alexander Boettcher
1ec823bf5e
libc: support manual pthread configuration
...
Fixes #3787
2020-06-29 16:56:47 +02:00
Alexander Boettcher
2471410fe5
libc: provide number of CPUs for sysctl&sysconf
...
Fixes #3786
2020-06-29 16:55:56 +02:00
Alexander Boettcher
3fb5ae4fdc
vm_stress: fix resource request by seoul-debian32
...
+ increase VM RAM to same size as used by vbox5
2020-06-29 16:54:43 +02:00