mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
82cf31ac27
This commit introduces the Kernel::Main class that replaces the former way of initializing the kernel (former 'kernel_init' function) and calling the C++ kernel entry handler (former 'kernel' function). These two are now 'Main::initialize_and_handle_kernel_entry' and 'Main::handle_kernel_entry'. Also reading the execution time of the idle threads was already moved to 'Main'. The one static Main instance is meant to successivly replace all the global static objects of the base-hw kernel with data members of the Main instance making the data model of the kernel much more comprehensible. The instance and most of its interface are hidden in kernel/main.cc. There are only rare cases where parts of the Main interface must be accessible from the outside. This should be done in the most specific way possible (see main.h) and, if possible, without handing out references to Main data members or the Main instance itself. Ref #4217 |
||
---|---|---|
.. | ||
spec | ||
base-hw-common.mk | ||
base-hw.mk | ||
bootstrap-hw.inc | ||
core-hw.inc | ||
timeout-hw.mk |