hw: make Kernel::mtc() global

ref #874
This commit is contained in:
Martin Stein
2013-10-16 12:30:10 +02:00
committed by Norman Feske
parent 0bb6ffa98d
commit 5cd2f6ee0b
2 changed files with 2 additions and 2 deletions

View File

@ -917,7 +917,7 @@ extern "C" void kernel()
cpu_scheduler()->head()->proceed(); cpu_scheduler()->head()->proceed();
} }
static Kernel::Mode_transition_control * Kernel::mtc() Kernel::Mode_transition_control * Kernel::mtc()
{ {
/* compose CPU context for kernel entry */ /* compose CPU context for kernel entry */
struct Kernel_context : Cpu::Context struct Kernel_context : Cpu::Context

View File

@ -47,7 +47,7 @@ namespace Kernel
/** /**
* Return the system wide mode-transition control * Return the system wide mode-transition control
*/ */
static Mode_transition_control * mtc(); Mode_transition_control * mtc();
/** /**
* Kernel backend of protection domains * Kernel backend of protection domains