remove typos

This commit is contained in:
Simon Pickartz 2011-07-02 09:09:53 -07:00
parent f3c241d1fe
commit c0fe176945
3 changed files with 7 additions and 6 deletions

View file

@ -56,6 +56,7 @@ int icc_halt(void);
int icc_send_irq(int ue);
void icc_mail_check(void);
int icc_mail_ping(void);
int icc_mail_ping_irq(void);
#endif

View file

@ -210,12 +210,12 @@ int icc_halt(void)
return 0;
}
#define ROUNDS 10000
#define ROUNDS 100000
int icc_mail_ping( void )
{
uint32_t flags;
uint64_t timer;
uint64_t timer = 0;
int rem_rank = (my_ue+1)%2;
int i;
iRCCE_MAIL_HEADER* recv_header = NULL;
@ -275,15 +275,15 @@ int icc_mail_ping( void )
int icc_mail_ping_irq( void )
{
/* return if not core 0 */
if( my_ue ) return;
if( my_ue ) return 0;
uint32_t flags;
uint64_t timer;
uint64_t timer = 0;
int rem_rank = (my_ue+1)%2;
int i;
iRCCE_MAIL_HEADER* recv_header = NULL;
kprintf( "Hello from mail_ping ... \n" );
kprintf( "Hello from mail_ping_irq ... \n" );
// disable interrupts
flags = irq_nested_disable();

View file

@ -88,7 +88,7 @@ static int STDCALL foo(void* arg)
#ifdef CONFIG_ROCKCREEK
int STDCALL mail_ping(void* arg) {
// icc_mail_ping();
icc_mail_ping();
icc_mail_ping_irq();
icc_halt();