hw: rename mode_transition_virt_base

ref #1101
This commit is contained in:
Martin Stein 2014-03-15 16:12:09 +01:00 committed by Norman Feske
parent 5112df9792
commit a64372647d
3 changed files with 4 additions and 10 deletions

View File

@ -19,7 +19,7 @@
namespace Kernel namespace Kernel
{ {
addr_t mode_transition_virt_base(); addr_t mode_transition_base();
size_t mode_transition_size(); size_t mode_transition_size();
size_t thread_size(); size_t thread_size();
size_t pd_size(); size_t pd_size();

View File

@ -128,8 +128,8 @@ namespace Kernel
/** /**
* Get attributes of the mode transition region in every PD * Get attributes of the mode transition region in every PD
*/ */
addr_t mode_transition_virt_base() { return mtc()->VIRT_BASE; } addr_t mode_transition_base() { return mtc()->VIRT_BASE; }
size_t mode_transition_size() { return mtc()->SIZE; } size_t mode_transition_size() { return mtc()->SIZE; }
/** /**
* Get attributes of the kernel objects * Get attributes of the kernel objects

View File

@ -46,12 +46,6 @@ extern int _boot_modules_end;
*/ */
typedef Native_region * (*Region_pool)(unsigned const); 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 * 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 }, { 0, 1 },
/* mode transition region */ /* mode transition region */
{ Kernel::mode_transition_virt_base(), Kernel::mode_transition_size() }, { Kernel::mode_transition_base(), Kernel::mode_transition_size() },
/* core image */ /* core image */
{ (addr_t)&_prog_img_beg, { (addr_t)&_prog_img_beg,