Ignore:
Timestamp:
Aug 14, 2017, 2:51:39 PM (7 years ago)
Author:
max@…
Message:

Use panic().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/rpc.c

    r337 r374  
    8585void __attribute__((noinline)) rpc_undefined()
    8686{
    87     printk("\n[PANIC] ‰s called in cluster %x\n", __FUNCTION__ , local_cxy );
    88     hal_core_sleep();
     87        panic("called in cluster %x", local_cxy );
    8988}
    9089
     
    19591958        if( this->trdid != rpc_fifo->owner )
    19601959        {
    1961             printk("\n[PANIC] in %s : thread %x on core[%x,%d] not owner of RPC_FIFO\n",
    1962             __FUNCTION__, this->trdid, local_cxy, this->core->lid );
    1963             hal_core_sleep();
     1960            panic("thread %x on core[%x,%d] not owner of RPC_FIFO",
     1961                  this->trdid, local_cxy, this->core->lid );
    19641962        }
    19651963 
Note: See TracChangeset for help on using the changeset viewer.