mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-22 16:59:03 +00:00
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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user