hw: rename handle_exception() in exception()

fix #1078
This commit is contained in:
Martin Stein 2014-02-28 15:49:24 +01:00 committed by Norman Feske
parent 3a4f7128fd
commit 1335b7b550
5 changed files with 5 additions and 5 deletions

View File

@ -281,7 +281,7 @@ extern "C" void kernel()
unsigned const processor_id = Cpu::id(); unsigned const processor_id = Cpu::id();
Processor * const processor = multiprocessor()->select(processor_id); Processor * const processor = multiprocessor()->select(processor_id);
Processor_scheduler * const scheduler = processor->scheduler(); Processor_scheduler * const scheduler = processor->scheduler();
scheduler->head()->handle_exception(processor_id); scheduler->head()->exception(processor_id);
scheduler->head()->proceed(processor_id); scheduler->head()->proceed(processor_id);
} }

View File

@ -342,7 +342,7 @@ class Kernel::Execution_context : public Cpu_scheduler::Item
* *
* \param processor_id kernel name of targeted processor * \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 * Continue execution

View File

@ -223,7 +223,7 @@ Thread::init(Processor * const processor, unsigned const pd_id_arg,
void Thread::_stop() { _unschedule(STOPPED); } void Thread::_stop() { _unschedule(STOPPED); }
void Thread::handle_exception(unsigned const processor_id) void Thread::exception(unsigned const processor_id)
{ {
switch (cpu_exception) { switch (cpu_exception) {
case SUPERVISOR_CALL: case SUPERVISOR_CALL:

View File

@ -320,7 +320,7 @@ class Kernel::Thread
** Execution_context ** ** Execution_context **
***********************/ ***********************/
void handle_exception(unsigned const processor_id); void exception(unsigned const processor_id);
void proceed(unsigned const processor_id); void proceed(unsigned const processor_id);

View File

@ -82,7 +82,7 @@ class Kernel::Vm : public Object<Vm, MAX_VMS, Vm_ids, vm_ids, vm_pool>,
** Execution_context ** ** Execution_context **
***********************/ ***********************/
void handle_exception(unsigned const processor_id) void exception(unsigned const processor_id)
{ {
switch(_state->cpu_exception) { switch(_state->cpu_exception) {
case Genode::Cpu_state::INTERRUPT_REQUEST: case Genode::Cpu_state::INTERRUPT_REQUEST: