genode/repos/base-hw/lib/mk
Martin Stein 82cf31ac27 base-hw: introduce Kernel::Main class
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
2021-10-13 14:46:52 +02:00
..
spec base-hw: conform pc board header 2021-10-13 14:46:52 +02:00
base-hw-common.mk riscv: Use Qemu and update to ISA v1.10 2021-02-23 12:02:44 +01:00
base-hw.mk riscv: Use Qemu and update to ISA v1.10 2021-02-23 12:02:44 +01:00
bootstrap-hw.inc base-hw: avoid double slashes in path names 2021-02-23 12:02:45 +01:00
core-hw.inc base-hw: introduce Kernel::Main class 2021-10-13 14:46:52 +02:00
timeout-hw.mk base: remove alarm library from base 2020-10-09 13:33:36 +02:00