diff --git a/arch/x86/scc/icc.c b/arch/x86/scc/icc.c index 7d9f4603..bf4c5180 100644 --- a/arch/x86/scc/icc.c +++ b/arch/x86/scc/icc.c @@ -253,7 +253,7 @@ int icc_mail_ping( void ) iRCCE_mail_recv( &mail ); } while( !mail ); - timer = timer - rdtsc(); + timer = rdtsc() - timer; kprintf( "Received mail in %d ticks!\n", timer ); diff --git a/kernel/main.c b/kernel/main.c index f3b7d36f..9519dafc 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -115,9 +115,7 @@ int main(void) sleep(5); list_root(); //test_init(); - kprintf( "calling mailbox test ... \n" ); mailbox_test_init(); - kprintf( "mailbox test succeded!\n" ); per_core(current_task)->status = TASK_IDLE; reschedule();