Commit Graph

37 Commits

Author SHA1 Message Date
Stefan Kalkowski
5da85325d4 Remove abandoned libpq and libpqxx ports
Fix #175
2019-06-07 10:55:18 +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
Johannes Schlatow
f84567e460 zynq_boards: move RAM size to board defs 2019-05-07 10:14:34 +02:00
Johannes Schlatow
a4d3745a9a zynq boards: fix board defs 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
Alexander Senier
e0a0d07cb3 Port libc-based "fat" Ada runtime 2019-02-18 16:42:41 +01:00
Emery Hemingway
2f760075a7 Utility for using the RDRAND instruction
On some x86_64 hardware the RDRAND instruction returns 64bits of entropy
from an on-chip random number generator. RDRAND is not recommended as an
exclusive source of entropy for cryptographic applications.

https://en.wikipedia.org/wiki/RdRand
2019-02-12 10:23:08 +01:00
Emery Hemingway
c042419226 Port of the c-toxcore Tox library
Port of the C reference implementation of the Tox chat protocol.
Includes a native DHT bootstrap node, see run/tox_dht_bootstrap.

https://tox.chat/
2019-01-10 16:44:30 +01:00
Emery Hemingway
a09355d77d Port of libsodium 1.0.16
https://libsodium.org/
2019-01-10 16:44:30 +01:00
Josef Söntgen
fd713e737d Add FUSE implementation and dependencies
Imported from the genode repository.

Fixes #129.

Issue genodelabs/genode#3104.
2019-01-04 14:31:29 +01:00
Norman Feske
cee6b89cce Add libsdl headers
This is a follow-up commit to "Port of libsdl, mixer, image, net, ttf".
Besides adding the missing includes, it adjusts the api recipe.

Issue genodelabs/genode#3100
2019-01-04 11:58:10 +01:00
Josef Söntgen
b35caec726 lwext4: add port of ext2/3/4 filesystem library
Besides the missing supported features noted in the README, missing
support for extending files via truncation/seeking might limit its
application.

Issue #124.
2018-11-27 14:36:44 +01:00
Emery Hemingway
affa36eb2d Remove Nim libraries
Libraries moved to https://github.com/ehmry/nim-genode
2018-07-09 13:39:50 +02:00
Johannes Schlatow
2e3f012eca ports: python3
Fixes #108
2018-06-20 11:22:06 +02:00
Johannes Schlatow
a564b342c4 zynq: fix private timer clk in board defs
Fixes #107
2018-06-15 10:44:25 +02:00
Emery Hemingway
cdc389ef3d Port of ldns and drill
Drill is a DNS utility inspired by dig.

https://www.nlnetlabs.nl/projects/ldns/

Fix #99
2018-02-23 21:26:03 +01:00
Emery Hemingway
419503db1d Update World Nim libraries
- Prevent GC from freeing active signal handlers.
- New module for implementing Nim servers.
- Stricter typing for compatibility with upcoming language release.

Fix #96
2018-01-29 11:14:00 +01:00
Emery Hemingway
1b91592ed3 Nim: fixup defines for constructible C++ objects
Ref #91
2017-11-28 10:21:46 -06:00
Emery Hemingway
87ed5042c0 Nim libraries for native Genode intefaces
Ref #86
2017-11-14 13:18:04 +01:00
Johannes Schlatow
98820ffab4 zynq: update to 17.05
Ref #74
2017-08-28 14:22:20 +02:00
Emery Hemingway
a7e6bf698d port Glib
https://wiki.gnome.org/Projects/GLib

Fix #80
2017-08-04 16:50:41 +02:00
Johannes Schlatow
6989903446 zynq: add i2c driver 2017-03-16 16:41:33 +01:00
Johannes Schlatow
c5ebe885d0 add i2c interface using new IO framework
https://github.com/genodelabs/genode/issues/2196
2017-03-16 16:16:36 +01:00
Johannes Schlatow
ae9659f456 zynq: remove VDMA driver 2017-03-06 10:31:48 +01:00
Johannes Schlatow
300b0ea022 zynq: remove GPIO driver 2017-03-06 10:31:48 +01:00
Johannes Schlatow
458c013634 zynq: remove i2c driver component and session 2017-03-06 10:29:05 +01:00
Johannes Schlatow
f0dd661c8f remote_rom: update to 17.02 2017-03-02 14:07:51 +01:00
Alexy Gallardo Segura
d23f6adcb8 add libpq and libpqxx libraries
Signed-off-by: Alexy Gallardo Segura <alexy@uclv.cu>
2017-01-31 14:17:10 +01:00
Norman Feske
c06486ba0b Mark env-less connection objects as deprecated
This patch is the counterpart of the commit "Warn about the use of
deprecated env() function" in Genode repository:

  a7f40b24ca
2017-01-18 15:02:42 +01:00
Emery Hemingway
2a7572d374 ports of Xiph's Ogg, Vorbis, FLAC libraries
https://xiph.org/

Ref #47
2016-11-21 12:50:48 +01:00
Emery Hemingway
8b8491aaf1 Port of the TestU01 test suite
Library for statistical testing of uniform random number generators.
http://simul.iro.umontreal.ca/testu01/tu01.html

Fix #48
2016-11-01 12:35:32 +01:00
Stefan Kalkowski
709fbd7489 Port of libevent (Ref #30) 2016-08-25 10:27:08 +02:00
Norman Feske
45570065fd Port of libxml2 2016-08-21 01:29:25 +02:00
Johannes Schlatow
2687de2376 Add remote_rom proxy component
Fixes #20
2016-07-06 16:40:56 +02:00
Mark
6418f34082 zynq: add gpio, i2c and vdma drivers 2016-07-06 15:22:06 +02:00
Johannes Schlatow
2e7bb650dc zynq: add specs for zynq-based boards
- zynq_parallella
- zynq_zedboard
- zynq_zc706
- zynq_zc702
2016-07-06 15:20:23 +02:00