Genode OS Framework
Go to file
Norman Feske aee0a2061b Create entrypoint sockets in core only
This patch alleviates the need for any non-core process to create Unix
domain sockets locally. All sockets used for RPC communication are
created by core and subsequently passed to the other processes via RPC
or the parent interface. The immediate benefit is that no process other
than core needs to access the 'rpath' directory in order to communicate.
However, access to 'rpath' is still needed for accessing dataspaces.

Core creates one socket pair per thread on demand on the first call of
the 'Linux_cpu_session::server_sd()' or 'Linux_cpu_session::client_sd()'
functions. 'Linux_cpu_session' is a Linux-specific extension to the CPU
session interface. In addition to the socket accessors, the extension
provides a mechanism to register the PID/TID of a thread. Those
information were formerly propagated into core along with the thread
name as argument to 'create_thread()'.

Because core creates socket pairs for entrypoints, it needs to know all
threads that are potential entrypoints. For lx_hybrid programs, we
hadn't had propagated any thread information into core, yet. Hence, this
patch also contains the code for registering threads of hybrid
applications at core.
2012-11-05 17:31:04 +01:00
base Create entrypoint sockets in core only 2012-11-05 17:31:04 +01:00
base-codezero Firewall-friendly download methods for contrib src 2012-10-30 12:12:42 +01:00
base-fiasco Introduce platform-specific services for core 2012-10-29 10:08:29 +01:00
base-foc Fiasco.OC: forward CC, and CXX variables (fix #462) 2012-11-03 09:50:37 +01:00
base-host Introduce platform-specific services for core 2012-10-29 10:08:29 +01:00
base-hw base-hw: fix compile error with GCC 4.7 2012-10-30 17:47:52 +01:00
base-linux Create entrypoint sockets in core only 2012-11-05 17:31:04 +01:00
base-mb Introduce platform-specific services for core 2012-10-29 10:08:29 +01:00
base-nova NOVA: use latest kernel from github 2012-11-05 17:28:51 +01:00
base-okl4 Introduce platform-specific services for core 2012-10-29 10:08:29 +01:00
base-pistachio Shell brace expansion is non-POSIX 2012-10-31 23:07:58 +01:00
dde_ipxe Firewall-friendly download methods for contrib src 2012-10-30 12:12:42 +01:00
dde_linux Make nic_bridge's MAC address range configurable 2012-10-24 16:39:02 +02:00
demo Fix possible int overflow reported by gcc-4.7 2012-11-01 17:03:13 +01:00
doc Release notes for Genode 12.08 2012-08-23 08:42:06 +02:00
gems Add testnit to 'terminal_log.run' 2012-11-01 16:01:51 +01:00
hello_tutorial Simplify run scripts 2012-07-27 17:00:44 +02:00
libports libc_lock_pipe: match alloc. and dealloc. funcs 2012-11-03 09:51:56 +01:00
os Prevent compiler warnings 2012-11-05 10:57:29 +01:00
ports Arora: add 'stdcxx.lib.so' to boot modules 2012-11-03 09:51:14 +01:00
ports-foc Fiasco.OC: forward CC, and CXX variables (fix #462) 2012-11-03 09:50:37 +01:00
ports-okl4 Fix OKLinux compile errors with GCC 4.7 2012-10-30 17:58:23 +01:00
qt4 Fix warning in QPluginWidget test 2012-11-03 09:52:19 +01:00
tool Whitespace fix 2012-11-05 17:28:51 +01:00
.gitignore Add stdcxx-4.6.1 to libports, fix #339 2012-09-04 12:37:56 +02:00
LICENSE Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
README Updated links in top-level README 2012-08-22 20:42:30 +02:00

                      =================================
                      Genode Operating System Framework
                      =================================


This is the source tree of the reference implementation of the Genode OS
architecture. For a general overview about the architecture, please refer to
the project's official website:

:Official project website for the Genode OS Framework:

  [http://genode.org/documentation/general-overview]

The current implementation can be compiled for 8 different kernels: Linux,
L4ka::Pistachio, L4/Fiasco, OKL4, NOVA, Fiasco.OC, Codezero, and a custom
kernel for the MicroBlaze architecture. Whereas the Linux version serves us as
development vehicle and enables us to rapidly develop the generic parts of the
system, the actual target platforms of the framework are microkernels. There
is no "perfect" microkernel - and neither should there be one. If a microkernel
pretended to be fit for all use cases, it wouldn't be "micro". Hence, all
microkernels differ in terms of their respective features, complexity, and
supported hardware architectures.

Genode allows the use of each of the kernels listed above with a rich set of
device drivers, protocol stacks, libraries, and applications in a uniform way.
For developers, the framework provides an easy way to target multiple different
kernels instead of tying the development to a particular kernel technology. For
kernel developers, Genode contributes advanced workloads, stress-testing their
kernel, and enabling a variety of application use cases that would not be
possible otherwise. For users and system integrators, it enables the choice of
the kernel that fits best with the requirements at hand for the particular
usage scenario.


Directory overview
##################

The Genode source tree is composed of the following subdirectories:

:'doc':

  This directory contains general documentation. Please consider the following
  document for a quick guide to get started with the framework:

  ! doc/getting_started.txt

  If you are curious about the ready-to-use components that come with the
  framework, please review the components overview:

  ! doc/components.txt

:'base':

  This directory contains the source-code repository of the fundamental
  frameworks and interfaces of Genode. Furthermore, it contains the generic
  parts of core.

:'os':

  This directory contains the non-base OS components such as the init process,
  device drivers, and basic system services.

:'demo':

  This directory contains the source-code repository of various services and
  applications that we use for demonstration purposes. For example, a graphical
  application launcher called Launchpad and the Scout tutorial browser.

:'base-<platform>':
  These directories contain platform-specific source-code repositories
  complementing the 'base' repository. The following platforms are supported:

  :'linux':
    Linux kernel (both x86_32 and x86_64)

  :'nova':
    NOVA hypervisor developed at University of Technology Dresden
    See [http://genode.org/documentation/platforms/nova]

  :'foc':
    Fiasco.OC is a modernized version of the Fiasco microkernel with a
    completely revised kernel interface fostering capability-based
    security. It is not compatible with L4/Fiasco.
    See [http://genode.org/documentation/platforms/foc]

  :'hw':
    The hw platform allows the execution of Genode on bare ARM hardware
    without the need for a separate kernel. The kernel functionality is
    included in core.
    See [http://genode.org/documentation/platforms/hw]

  :'okl4':
    OKL4 kernel (x86_32 and ARM) developed at Open-Kernel-Labs.
    See [http://genode.org/documentation/platforms/okl4]

  :'pistachio':
    L4ka::Pistachio kernel developed at University of Karlsruhe.
    See [http://genode.org/documentation/platforms/pistachio]

  :'fiasco':
    L4/Fiasco kernel developed at University of Technology Dresden.
    See [http://genode.org/documentation/platforms/fiasco]

  :'codezero':
    Codezero microkernel developed by B-Labs
    See [http://genode.org/documentation/platforms/codezero]

  :'mb':
    Support for running Genode natively on the MicroBlaze softcore CPU.
    See [http://genode.org/documentation/platforms/microblaze]

  :'host':
    Pseudo platform documenting the interface between the generic and
    platform-specific parts of the base framework. This is not a functional
    base platform.

:'tool':

  Source-code management tools and scripts. Please refer to the README file
  contained in the directory.

:'hello_tutorial':

  Tutorial for creating a simple client-server scenario with Genode. This
  repository includes documentation and the complete source code.

:'libports':

  This source-code repository contains ports of popular open-source libraries
  to Genode, most importantly the C library. The repository contains no
  upstream source code but means to download the code and adapt it to Genode.
  For instructions about how to use this mechanism, please consult the README
  file at the top level of the repository.

:'dde_linux':

  This source-code repository contains the device driver environment for
  executing Linux device drivers natively on Genode. Currently, this
  repository hosts the USB stack.

:'linux_drivers':

  Deprecated version of the Linux device driver environment featuring audio
  drivers and the Intel GEM driver. This repository is in a transitionary
  phase. Its functionality will be incorporated into 'dde_linux'.

:'dde_ipxe':

  This source-code repository contains the device driver environment for
  executing drivers of the iPXE project.

:'qt4':

  This source-code repository contains the Genode version of Qt4 framework.
  Please find more information about using Qt4 with Genode in the repository's
  'README' file.

:'ports':

  This source-code repository hosts ports of 3rd-party applications to
  Genode. The repository does not contain upstream source code but provides
  a mechanism for downloading the official source distributions and adapt
  them to the Genode environment. The used mechanism is roughly the same
  as used for the 'libports' repository. Please consult 'libports/README'
  for further information.

:'ports-<platform>':

  These platform-specific source-code repositories contain software that
  capitalizes special features of the respective kernel platform. I.e.,
  for the OKL4 base platform, a port of OKLinux is provided in 'ports-okl4'.
  For the Fiasco.OC platform, 'ports-foc' hosts a port of the L4Linux
  kernel. For further information, please refer to the README file at the
  top level of the respective repository.

:'gems':

  This source-code repository contains Genode applications that use
  both native Genode interfaces as well as features of other high-level
  repositories, in particular shared libraries provided by 'libports'.


Contact
#######

The best way to get in touch with Genode developers and users is the project's
mailing list. Please feel welcome to join in!

:Genode Mailing Lists:

  [http://genode.org/community/mailing-lists]