Commit Graph

253 Commits

Author SHA1 Message Date
Sid Hussmann
12d69338c5 protobuf_grpc: use pthread
Fixes pagefaults.

This includes the changes provided by ssumpf in 6726aef.

Issue #190
2020-02-06 09:04:22 +01:00
Pirmin Duss
e0f557c050 protobuf_grpc: google serializing and RPC library
protobuf : 3.9.3
grpc     : 1.24.0

This a new version of the port with a vastly reduced port size.

Issue #190
2019-11-26 14:11:04 +01:00
Sebastian Sumpf
698efe230a lwext4_fs + show_input: adjust to file system changes
genodelabs/genode#3507

Fixes #194
2019-11-21 07:41:38 +01:00
Christian Helmuth
21cab2004a Revert "protobuf_grpc: google serializing and RPC library"
This reverts commit 5587d78e89.

Issue #190
2019-11-12 08:24:40 +01:00
Pirmin Duss
5587d78e89 protobuf_grpc: google serializing and RPC library
protobuf : 3.9.1
grpc     : 1.24.0

Issue #190
2019-11-04 14:03:22 +01:00
Sebastian Sumpf
f957aa538f jdk: just reserve FDs in 'socketpair'
socketpair() is used in libnio/libnet to create "marker FDs", which are
only used as destination FD in dup2(). So it is safe to just reserve
those descriptors. Otherwise, calling functions may use uninitialized
stack variables after successful return of socketpair(), which results
in closing arbtrary fds later on.

Fixes #192
2019-10-23 14:29:40 +02:00
Norman Feske
64d2ec2d5e Build fix for test/sdl_opengl/sdl_main.cc 2019-09-27 14:16:59 +02:00
Sebastian Sumpf
1077ec6a3f fdt: test program and run script
issue #188
2019-08-14 17:43:45 +02:00
Sebastian Sumpf
a911e81662 fdt: port of the device tree manipulation library
fixes #188
2019-08-14 17:43:45 +02:00
Norman Feske
2b20aea960 libSDL: stack nitpicker view at creation time
Fixes #186
2019-07-09 10:22:39 +02:00
Josef Söntgen
980b5cab3f umurmur: requires x86
On ARM64 it relies on 'byteswap.h' being available which is not the
case on FreeBSD. Let's limit the port to x86 for the time being.

Issue #184.
2019-06-17 16:18:06 +02:00
Emery Hemingway
a2c68c5c19 Implement SDL_WM_SetCaption for Nitpicker 2019-06-14 10:04:47 +02:00
Stefan Kalkowski
5da85325d4 Remove abandoned libpq and libpqxx ports
Fix #175
2019-06-07 10:55:18 +02:00
Christian Prochaska
b2eef37312 tftp_rom: remove 'os/signal_rpc_dispatcher.h' inclusion
Fixes #164
2019-06-07 10:53:07 +02:00
Stefan Kalkowski
e178109093 tor and dosbox: fix compile errors due to new gcc 2019-06-03 11:36:30 +02:00
Sebastian Sumpf
c2f1576ba4 jdk: Update port to Freebsd 12
* fix NULL = nullptr in C++ semantic (arm, x86_64)
* arm: disable soft float (full hard float support)
* dummies some mmap flags

issue genodelabs/genode#3289
2019-05-18 10:40:05 +02:00
Norman Feske
c070e64bd4 libsdl: config tweaks, remove sdlmain lib
This patch contains changes to the libSDL port that were needed to build
the Hatari emulator using cmake.

- Since SDL programs cannot use the posix library (because sdl's init
  function needs a way to get hold of the Genode env), the sdl_main
  library must be used instead of the posix library. The sdl_main
  code implements the Libc::Component::construct function for the
  final binary. However, 3rd-party build systems are not aware of this
  Genode-specific peculiarity and thereby create binaries that leave
  libsdl uninitialized. This patch adds the sdl_main to libsdl by
  default and thereby eliminates the need for specifying the extra
  sdl_main library. Customizing the Libc::Component::construct is
  still possible by overriding the library-provided implementation
  in the main program.

- A few missing config definitions are added to compile Hatari
  successfully.

- Avoid reliance on the include/SDL convention in SDL_config.h

- Cmake relies on the upper-case naming of the library with no way
  to tweak this convention. So we install an symlink named `SDL.lib.so`
  when installing the library into the <build-dir>/bin/ directory.

Fixes #161
2019-05-14 11:45:43 +02:00
Pirmin Duss
5c353771ba Port the sgdisk utilit form the gptfdisk package 2019-05-14 10:42:45 +02:00
Pirmin Duss
71193e0f5c Port libuuid from util-linux
This is required by sgdisk.
2019-05-14 10:41:38 +02:00
Pirmin Duss
3873daff94 Port the popt argument parsing library
This is required for the sgdisk tool.
2019-05-14 10:41:15 +02:00
Johannes Schlatow
6402247003 zynq_boards: enable L2 cache 2019-05-07 10:14:34 +02:00
Johannes Schlatow
557ffbac80 remote_rom: Genode API compatibility 2019-05-07 10:14:34 +02:00
Johannes Schlatow
92ef8619c7 remote_rom: implement ARP requests 2019-05-07 10:14:34 +02:00
Johannes Schlatow
8ed98b8459 remote_rom: use UDP and implement go-back-N ARQ 2019-05-07 10:14:34 +02:00
Edgard Schmidt
c137c595c8 remote_rom: improvements and refactoring
Avoid a runtime warning message since our backend does not provide
such constructor functions yet. If a backend requires them, it should
initiate their execution by itself within the backend init functions.

In coherence with the size_guard idea, the remote_rom packets are are
separated into a simple layer packet and a data packet. While basically
only managing common control informations, the layer packet may carry
any payload. The data packet, instead, manages the transmission of the
actual ROM payload and can be attached to the layer packet. This
simplifies the management of the notification packets UPDATE and SIGNAL
since they do not contain fields like 'offset' or 'payload_size'
anymore.

Now, a single thread manages all incoming RPC calls, signals and (thus)
network packets. This will hopefully make further synchronization
enhancements a lot easier.

Further changes:
* Following data packets are identified as such by their offset instead
  of their packet type field. This simplifies the protocol.
* reduced redundancy in the packet building code
* rewrap lines with >79 columns
* fix compiler warnings
* split backend code
* Remove a few unnecessary include and using directives.
* In order to avoid global variables across modules, 'verbose' is a
  member variable now. Later, its value may be set via constructor.
* The nested Rx class is merged with Backend_base. This way, we avoid
  unnecessary maintenance as long as we don't have a clear design for
  ROM multiplexing which may require the management of multiple IP
  addresses etc.
* The HANDLER template argument is removed since client and server
  inherit from Backend_base anyway. The receive method is virtual now.
* The signals packet_avail and ready_to_ack are directly passed to the
  same signal handler now.
* Remove unnecessarily public/protected visibility from some members.
* Remove and add unnecessary and, due to inclusion order, secretly
  missing include directives, respectively.
2019-05-07 10:14:34 +02:00
Johannes Schlatow
5627797e77 log_udp: receive LOG messages via UDP 2019-05-07 10:14:34 +02:00
Johannes Schlatow
c87b2f2eb9 udp_log: send LOG as UDP packets 2019-05-07 10:14:34 +02:00
Stefan Kalkowski
795b2db59f lwext4: adjust to new block API (fix #157) 2019-05-07 09:49:57 +02:00
Stefan Kalkowski
49f762421d block_shred: adjust to new block API (fix #158) 2019-05-07 09:48:48 +02:00
Josef Söntgen
da1208c159 Remove any-rom VFS plugin
The plugin does not build anymore, which will lead to errors if
'make lib/vfs' is executed and the original use-case is gone according
to the plugin's author anyway.

Fixes #155.
2019-04-18 11:31:52 +02:00
Emery Hemingway
498854c085 Nic_bus server
A minimal Nic service that switches ethernet packets between Nic
sessions. Packets are only switched between MAC addresses of directly
connected sessions, attaching a device driver and switching to
additional MACs on further ethernet segments is not supported. That is
to say that is component is neither a hub nor a switch.

This server is intended for creating private LANs between components and
supports arbitrary level 3 protocols (IPv4 and IPv6).
2019-04-15 13:47:58 +02:00
Emery Hemingway
3e04718fa7 SSH client: close with terminal, fix anonymous authentication 2019-04-09 13:31:01 +02:00
Emery Hemingway
267327664a Rename blk_shred to block_shred, package 2019-03-31 19:52:04 +02:00
Emery Hemingway
61ee28cb7d Use RDRAND to initialize blk_shred
Mix jitterentropy with RDRAND when initializing psuedo-random number
generator.
2019-03-31 14:38:06 +02:00
Emery Hemingway
a9617304f8 Jitter sponge: always ready to read
Always return true for bytes available check. This fixes the server to
work with VFS clients.
2019-03-31 14:25:55 +02:00
Sebastian Sumpf
6680c328ff jdk: missing network infrastructure for clients
fixes #150
2019-03-21 14:00:27 +01:00
Christian Prochaska
69612da4ba qt_avplay: remove use of deprecated APIs
Fixes #149
2019-03-16 19:12:44 +01:00
Josef Söntgen
8fd9c2c536 Add port of libspng-0.4.3
Fixes #148.
2019-03-05 18:34:42 +01:00
Josef Söntgen
b3b2a5f59b avplay: update patch to accommodate SDL change
Fixes #147.
2019-03-05 18:00:51 +01:00
Alexander Senier
70c44f934b Port libsparkcrypto test cases 2019-03-05 11:16:51 +01:00
Emery Hemingway
a3444e5aff Package Grafx2 2019-02-28 16:46:49 +01:00
Emery Hemingway
9f5abfc127 Build fix for libsndfile on ARM
Fix #143
2019-02-25 10:47:12 +01:00
Norman Feske
20e536f5fe Build fix for src/mp3_audio_sink on x86_32 2019-02-24 14:09:27 +01:00
Emery Hemingway
b14eca3067 Fix -suggest-override for raw_audio_sink 2019-02-22 17:01:48 +01:00
Emery Hemingway
e35fb825a0 Fix flif_view 2019-02-22 17:01:48 +01:00
Emery Hemingway
6e1d2c6dc1 Package OpenTyrian 2019-02-22 17:01:48 +01:00
Emery Hemingway
1de91edfe8 Remove XML editor 2019-02-22 17:01:48 +01:00
Emery Hemingway
9fe7643285 Remove rom_fallback server 2019-02-22 17:01:48 +01:00
Emery Hemingway
e94b81d5d1 Remove Chuck
Chuck can be added back when the routing of MIDI between components is
implemented.
2019-02-22 17:01:48 +01:00
Emery Hemingway
7cff151ecb Fix RDRAND header references 2019-02-22 17:01:48 +01:00