base: introduce platform_init function

The new 'init_platform' function performs the platform-specific
component-local low-level initialization. It allows for the
differentiation between core and regular components as well as
kernel-dependent peculiarities.

This patch introduces a consistent notion of a 'Platform'. Within core,
the 'Platform' contains the kernel-specific initialization. Outside
core, the platform sets up the interplay with the parent component. In
all cases, the platform is constructed while running on the initial
stack.

Issue #4784
This commit is contained in:
Norman Feske
2023-03-10 16:50:25 +01:00
parent 9e0ef550a8
commit 61926ebc07
29 changed files with 470 additions and 568 deletions

View File

@ -154,9 +154,9 @@ void Platform::wait_for_exit()
}
/****************************************************
** Support for Platform_env_base::Region_map_mmap **
****************************************************/
/*********************************
** Support for Region_map_mmap **
*********************************/
size_t Region_map_mmap::_dataspace_size(Capability<Dataspace> ds_cap)
{