diff --git a/arch/x86/scc/icc.c b/arch/x86/scc/icc.c index 49cc0734..1c3e7f05 100644 --- a/arch/x86/scc/icc.c +++ b/arch/x86/scc/icc.c @@ -242,7 +242,7 @@ int icc_mail_ping( void ) return 0; } - // iRCCE is not thread save => disable interrupts + // disable interrupts flags = irq_nested_disable(); // start timer @@ -353,6 +353,7 @@ void icc_mail_check(void) int res; kprintf( "Hello from icc_mail_check() \n" ); + // empty mailbox and interpret headers do { res = iRCCE_mail_recv( &header );