mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
parent
5112df9792
commit
a64372647d
@ -19,7 +19,7 @@
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
addr_t mode_transition_virt_base();
|
||||
addr_t mode_transition_base();
|
||||
size_t mode_transition_size();
|
||||
size_t thread_size();
|
||||
size_t pd_size();
|
||||
|
@ -128,8 +128,8 @@ namespace Kernel
|
||||
/**
|
||||
* Get attributes of the mode transition region in every PD
|
||||
*/
|
||||
addr_t mode_transition_virt_base() { return mtc()->VIRT_BASE; }
|
||||
size_t mode_transition_size() { return mtc()->SIZE; }
|
||||
addr_t mode_transition_base() { return mtc()->VIRT_BASE; }
|
||||
size_t mode_transition_size() { return mtc()->SIZE; }
|
||||
|
||||
/**
|
||||
* Get attributes of the kernel objects
|
||||
|
@ -46,12 +46,6 @@ extern int _boot_modules_end;
|
||||
*/
|
||||
typedef Native_region * (*Region_pool)(unsigned const);
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
addr_t mode_transition_virt_base();
|
||||
size_t mode_transition_size();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Helper to initialise allocators through include/exclude region lists
|
||||
@ -95,7 +89,7 @@ Native_region * Platform::_core_only_ram_regions(unsigned const i)
|
||||
{ 0, 1 },
|
||||
|
||||
/* mode transition region */
|
||||
{ Kernel::mode_transition_virt_base(), Kernel::mode_transition_size() },
|
||||
{ Kernel::mode_transition_base(), Kernel::mode_transition_size() },
|
||||
|
||||
/* core image */
|
||||
{ (addr_t)&_prog_img_beg,
|
||||
|
Loading…
Reference in New Issue
Block a user