Ignore:
Timestamp:
Jul 27, 2017, 12:23:29 AM (7 years ago)
Author:
alain
Message:

1) Introduce independant command fields for the various devices in the thread descriptor.
2) Introduce a new dev_pic_enable_ipi() function in the generic PIC device
3) Fix two bugs identified by Maxime in the scheduler initialisation, and in the sched_select().
4) fix several bugs in the TSAR hal_kentry.S.
5) Introduce a third kgiet segment (besides kdata and kcode) in the TSAR bootloader.

File:
1 edited

Legend:

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

    r246 r279  
    401401}
    402402
    403 ////////////////////////////////////////
    404 void nolock_printk( char * format , ...)
    405 {
    406     va_list   args;
    407 
    408     // call kernel_printf on TXT0, in busy waiting mode
    409     va_start( args , format );
    410     kernel_printf( 0 , 1 , format , &args );
    411     va_end( args );
    412 }
    413 
    414403///////////////////////////////////////////
    415404inline void assert( bool_t       condition,
     
    424413}
    425414
    426 //////////////////////////////////////////////////
    427 inline void nolock_assert( bool_t       condition,
    428                            const char * function_name,
    429                            char       * string )
    430 {
    431     if( condition == false )
    432     {
    433         nolock_printk("\n[PANIC] in %s : %s\n" , function_name , string );
    434         hal_core_sleep();
    435     }
    436 }
    437 
    438 
    439415
    440416// Local Variables:
Note: See TracChangeset for help on using the changeset viewer.