parent
8f9d4737a6
commit
ebfd6a55b3
|
@ -222,7 +222,7 @@ void Thread::exception(unsigned const processor_id)
|
||||||
{
|
{
|
||||||
switch (cpu_exception) {
|
switch (cpu_exception) {
|
||||||
case SUPERVISOR_CALL:
|
case SUPERVISOR_CALL:
|
||||||
_call(processor_id);
|
_call();
|
||||||
return;
|
return;
|
||||||
case PREFETCH_ABORT:
|
case PREFETCH_ABORT:
|
||||||
_mmu_exception();
|
_mmu_exception();
|
||||||
|
@ -875,7 +875,7 @@ int Thread::_write_reg(addr_t const id, addr_t const value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Thread::_call(unsigned const processor_id)
|
void Thread::_call()
|
||||||
{
|
{
|
||||||
/* switch over unrestricted kernel calls */
|
/* switch over unrestricted kernel calls */
|
||||||
unsigned const call_id = user_arg_0();
|
unsigned const call_id = user_arg_0();
|
||||||
|
|
|
@ -165,10 +165,8 @@ class Kernel::Thread
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle kernel-call request of the thread
|
* Handle kernel-call request of the thread
|
||||||
*
|
|
||||||
* \param processor_id kernel name of the trapped processor
|
|
||||||
*/
|
*/
|
||||||
void _call(unsigned const processor_id);
|
void _call();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read a thread register
|
* Read a thread register
|
||||||
|
|
Loading…
Reference in New Issue
Block a user