mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Norman Feske
parent
cbd1464ee3
commit
d0eaca9915
@@ -1457,6 +1457,9 @@ extern "C" void kernel()
|
||||
|
||||
Genode::printf("Kernel started!\n");
|
||||
|
||||
/* enable kernel timer */
|
||||
pic()->unmask(Timer::IRQ);
|
||||
|
||||
/* compose kernel CPU context */
|
||||
static Cpu::Context kernel_context;
|
||||
kernel_context.ip = (addr_t)kernel;
|
||||
@@ -1499,7 +1502,6 @@ extern "C" void kernel()
|
||||
|
||||
/* limit user mode execution in time */
|
||||
timer()->start_one_shot(user_time);
|
||||
pic()->unmask(Timer::IRQ);
|
||||
|
||||
/* will jump to the context related mode-switch */
|
||||
next->scheduled_next();
|
||||
|
||||
Reference in New Issue
Block a user