Commit Graph

378 Commits

Author SHA1 Message Date
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
Josef Söntgen
6d8110a3a5 lwext4_fs: adapt pkg runtime to CE
Fixes #153.
2019-03-25 13:39:41 +01:00
Emery Hemingway
8c5b16ea6a Increase RAM in Grafx2 package
Grafx2 needs more ram to edit things like high-res desktop backgrounds.
2019-03-22 10:56:20 +01:00
Emery Hemingway
f8924a3337 Add runtime to flif_view package
The flif_view package may be used to view files created by flif_capture.
2019-03-22 10:56:20 +01:00
Emery Hemingway
a0a9642ca1 Fix include a window manager with flif_capture package 2019-03-22 10:56:20 +01:00
Norman Feske
8987bbf4b6 Runtime pkg for avplay 2019-03-21 16:32:56 +01:00
Sebastian Sumpf
6680c328ff jdk: missing network infrastructure for clients
fixes #150
2019-03-21 14:00:27 +01:00
Emery Hemingway
c8f95f0666 Move TempleOS URL to Archive.org
www.templeos.org is no longer available.

Fix #151
2019-03-21 10:33:07 +01:00
Christian Prochaska
69612da4ba qt_avplay: remove use of deprecated APIs
Fixes #149
2019-03-16 19:12:44 +01:00
Norman Feske
7ea7cb2bd2 nitpicker_app.inc: adjust wm -> focus label
This patch adjusts the label of the wm's focus session to the explicitly
named label as introduced in the wm pkgs in Genode 19.02.
2019-03-14 12:18:07 +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
Alexander Senier
858256d4d1 Add missing symbols to AUnit 2019-03-05 11:16:24 +01:00
Alexander Senier
532fe9c52b Add missing files and symbols to Ada runtime 2019-03-05 11:16:21 +01:00
Emery Hemingway
a3444e5aff Package Grafx2 2019-02-28 16:46:49 +01:00
Emery Hemingway
d4480964de Package Numpty Physics 2019-02-28 16:46:49 +01:00
Emery Hemingway
97ff910325 Package sdl_ttf 2019-02-28 16:46:49 +01:00
Emery Hemingway
58d7a7d8e6 Build Libmpg123 for ARM 2019-02-26 14:37:56 +01:00
Emery Hemingway
f3a3f00a10 Fix Crypto++ for ARMv6 2019-02-26 14:37:13 +01:00
Christian Helmuth
249fa6fd1c Correct hash of FLAC port 2019-02-26 12:13:09 +01:00
Emery Hemingway
7b9fa1081d Build fix for crypto++ on ARM
Fix #142
2019-02-25 10:52:14 +01:00
Emery Hemingway
9f5abfc127 Build fix for libsndfile on ARM
Fix #143
2019-02-25 10:47:12 +01:00
Norman Feske
50b4f1b9b2 Build fix for src/jitter_sponge on x86_32 2019-02-24 14:12:59 +01:00
Norman Feske
20e536f5fe Build fix for src/mp3_audio_sink on x86_32 2019-02-24 14:09:27 +01:00
Norman Feske
e199117e8f Build src/test-rdrand archive for non-x86_64
Include the generic stub in the source archive to avoid build errors on
architectures other than x86_64.
2019-02-24 14:00:51 +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
36cce70728 Package julia_fractal 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
Emery Hemingway
176a5c443c audio_player: consume and produce XSPF
Consume and produce playlists in the XML Shareable Playlist Format.

http://www.xspf.org
2019-02-22 17:01:48 +01:00
Norman Feske
92bc4f3a83 python3: remove uninitialized variable (build fix)
This patch also prevents the dynamic loading of the rtc_drv when
executed on Linux, which is needed because this version of the rtc_drv
is a hybrid Linux/Genode program.
2019-02-22 15:49:18 +01:00
Sebastian Sumpf
65e7ccc662 jdk: boot to Java demo
issue #136
2019-02-22 15:15:54 +01:00
Sebastian Sumpf
2f73680071 jdk: use depot for 'java.run'
Build JVM using packets.

issue #136
2019-02-22 15:15:08 +01:00
Josef Söntgen
02d5c36cc0 lwext4: remove depcreated APIs
Fixes #140.
2019-02-21 16:35:33 +01:00
Josef Söntgen
b9480c0b22 audio_player: remove deprecated APIs
Issue #140.
2019-02-21 16:35:16 +01:00