mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
21de42c45d
The new core-internal 'Address_space' interface enables cores RM service to flush mappings of a PD in which a given 'Rm_client' thread resides. Prior this patch, each platform invented their own way to flush mappings in the respective 'rm_session_support.cc' implementation. However, those implementations used to deal poorly with some corner cases. In particular, if a PD session was destroyed prior a RM session, the RM session would try to use no longer existing PD session. The new 'Address_space' uses the just added weak-pointer mechanism to deal with this issue. Furthermore, the generic 'Rm_session_component::detach' function has been improved to avoid duplicated unmap operations for platforms that implement the 'Address_space' interface. Therefore, it is related to issue #595. Right now, this is OKL4 only, but other platforms will follow. |
||
---|---|---|
.. | ||
etc | ||
include/base | ||
lib/mk | ||
src | ||
README |
This repository contains dummy implementations of platform-specific Genode APIs to enable the compilation of Genode for the host platform. Because the repository provides only dummy implementations, most of the generated binaries will not work. However, the repository serves two important purposes. It documents the platform- specific APIs that must be filled out when porting Genode to another platform, and it is the build environment for unit tests executed on the host platform.