mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
a3858bff3c
This patch improves the handling of the corner case where a client vanishes while a session request is in flight (CREATE_REQUESTED but not yet AVAILABLE). This corner case could be sporadically observed with the init_loop test on base-linux. In the original version, the session would eventually be delivered but never picked up by anyone. Such a stale session still uses resources that should better be released. In the new version, the parent checks for the liveliness of the client whenever a session is delivered. If there is no client of the session, a close request is immediately issued to the server. The session state must be preserved until the close requests has been answered. |
||
---|---|---|
.. | ||
etc | ||
include | ||
lib | ||
mk | ||
ports | ||
recipes | ||
run | ||
src | ||
README |
This is generic part of the Genode implementation. It consists of two parts: :_Core_: is the ultimate root of the Genode application tree and provides abstractions for the lowest-level hardware resources such as RAM, ROM, CPU, and generic device access. All generic parts of Core can be found here - for system-specific implementations refer to the appropriate 'base-<system>' directory. :_Base libraries and protocols_: that are used by each Genode component to interact with other components. This is the glue that holds everything together. _Core_ may export information about the hardware platform by an ROM called 'platform_info'. Depending on the platform, e.g. ARM or x86 or riscv, and depending on the boot mode and boot loader and kernel, some nodes may not be populated. !<platform_info> ! <acpi revision="2" rsdt="0x1fe93074" xsdt="0x1fe930e8"/> ! <boot> ! <framebuffer phys="0x7300000" width="1024" height="768" bpp="32"/> ! </boot> !</platform_info> If the ACPI RSDT and XSDT physical pointer is reported by the used kernel and/or bootloader, _Core_ may provide this information by the ROM. If the graphic device is initialised and can be directly used by a framebuffer driver, _Core_ may provide the physical pointer to the framebuffer, the resolution and color depth in bits.