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

Start using panic().

File:
1 edited

Legend:

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

    r367 r373  
    471471    if( core_lid >= LOCAL_CLUSTER->cores_nr )
    472472    {
    473         printk("\n[PANIC] in %s : illegal core_lid / cores = %d / lid = %d / cxy = %x\n",
    474                __FUNCTION__ , LOCAL_CLUSTER->cores_nr , core_lid , local_cxy );
    475         hal_core_sleep();
     473        panic("illegal core_lid / cores = %d / lid = %d / cxy = %x\n",
     474              LOCAL_CLUSTER->cores_nr , core_lid , local_cxy );
    476475    }
    477476
     
    737736
    738737        // force core to sleeping state
    739         hal_core_sleep();
     738        //hal_core_sleep();
    740739
    741740        idle_dmsg("\n[INFO] %s : core[%x][%d] wake up at cycle %d\n",
Note: See TracChangeset for help on using the changeset viewer.