Ignore:
Timestamp:
Aug 25, 2018, 6:30:27 PM (3 years ago)
Author:
viala@…
Message:

[syscall] Use assert instead of printk+hal_core_sleep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_barrier.c

    r457 r508  
    120120        }
    121121        ////////
    122             default:
    123         {
    124             printk("\n[PANIC] in %s : illegal operation type\n", __FUNCTION__ );
    125             hal_core_sleep();
     122        default: {
     123            assert ( false, "illegal operation type <%x>", operation );
    126124        }
    127125        }  // end switch
Note: See TracChangeset for help on using the changeset viewer.