mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
parent
3a4f7128fd
commit
1335b7b550
@ -281,7 +281,7 @@ extern "C" void kernel()
|
||||
unsigned const processor_id = Cpu::id();
|
||||
Processor * const processor = multiprocessor()->select(processor_id);
|
||||
Processor_scheduler * const scheduler = processor->scheduler();
|
||||
scheduler->head()->handle_exception(processor_id);
|
||||
scheduler->head()->exception(processor_id);
|
||||
scheduler->head()->proceed(processor_id);
|
||||
}
|
||||
|
||||
|
@ -342,7 +342,7 @@ class Kernel::Execution_context : public Cpu_scheduler::Item
|
||||
*
|
||||
* \param processor_id kernel name of targeted processor
|
||||
*/
|
||||
virtual void handle_exception(unsigned const processor_id) = 0;
|
||||
virtual void exception(unsigned const processor_id) = 0;
|
||||
|
||||
/**
|
||||
* Continue execution
|
||||
|
@ -223,7 +223,7 @@ Thread::init(Processor * const processor, unsigned const pd_id_arg,
|
||||
void Thread::_stop() { _unschedule(STOPPED); }
|
||||
|
||||
|
||||
void Thread::handle_exception(unsigned const processor_id)
|
||||
void Thread::exception(unsigned const processor_id)
|
||||
{
|
||||
switch (cpu_exception) {
|
||||
case SUPERVISOR_CALL:
|
||||
|
@ -320,7 +320,7 @@ class Kernel::Thread
|
||||
** Execution_context **
|
||||
***********************/
|
||||
|
||||
void handle_exception(unsigned const processor_id);
|
||||
void exception(unsigned const processor_id);
|
||||
void proceed(unsigned const processor_id);
|
||||
|
||||
|
||||
|
@ -82,7 +82,7 @@ class Kernel::Vm : public Object<Vm, MAX_VMS, Vm_ids, vm_ids, vm_pool>,
|
||||
** Execution_context **
|
||||
***********************/
|
||||
|
||||
void handle_exception(unsigned const processor_id)
|
||||
void exception(unsigned const processor_id)
|
||||
{
|
||||
switch(_state->cpu_exception) {
|
||||
case Genode::Cpu_state::INTERRUPT_REQUEST:
|
||||
|
Loading…
Reference in New Issue
Block a user