mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
839c0263c9
Because the template instantiation rules of C++ do not deal well with null pointers specified as '0', the constructor of 'Local_addr' was instantiated for [T = int], which does not make sense. To avoid the warning "cast to pointer from integer of different size", we need to explicitly state that '0' is a pointer. In C++11, there is the 'nullptr' keyword, but until we switch to this version, we have to state (void *)0. |
||
---|---|---|
.. | ||
etc | ||
include | ||
lib | ||
mk | ||
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.