Ignore:
Timestamp:
Aug 29, 2017, 12:03:37 PM (4 years ago)
Author:
alain
Message:

This version executed successfully the user "init" process on a mono-processor TSAR architecture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_pic.c

    r337 r406  
    8383                         xptr_t  src_chdev_xp )
    8484{
    85     irq_dmsg("\n[INFO] %s : core = [%x,%d] / source_chdev_xp = %l\n",
    86              __FUNCTION__ , local_cxy , lid , src_chdev_xp );
     85    irq_dmsg("\n[DMSG] %s : core = [%x,%d] / src_chdev_cxy = %x / src_chdev_ptr = %x\n",
     86    __FUNCTION__ , local_cxy , lid , GET_CXY(src_chdev_xp) , GET_PTR(src_chdev_xp) );
    8787
    8888    // get pointer on PIC chdev
     
    101101                          xptr_t  src_chdev_xp )
    102102{
    103     irq_dmsg("\n[INFO] %s : core = [%x,%d] / source_chdev_xp = %l\n",
    104              __FUNCTION__ , local_cxy , lid , src_chdev_xp );
     103    irq_dmsg("\n[DMSG] %s : core = [%x,%d] / src_chdev_cxy = %x / src_chdev_ptr = %x\n",
     104    __FUNCTION__ , local_cxy , lid , GET_CXY(src_chdev_xp) , GET_PTR(src_chdev_xp) );
    105105
    106106    // get pointer on PIC chdev
     
    118118void dev_pic_enable_timer( uint32_t period )
    119119{
    120     irq_dmsg("\n[INFO] %s : core = [%x,%d] / period = %d\n",
    121              __FUNCTION__ , local_cxy , CURRENT_THREAD->core->lid , period );
     120    irq_dmsg("\n[DMSG] %s : core = [%x,%d] / period = %d\n",
     121    __FUNCTION__ , local_cxy , CURRENT_THREAD->core->lid , period );
    122122
    123123    // get pointer on PIC chdev
     
    135135void dev_pic_enable_ipi()
    136136{
    137     irq_dmsg("\n[INFO] %s : core = [%x,?]\n",
    138              __FUNCTION__ , local_cxy );
     137    irq_dmsg("\n[DMSG] %s : core = [%x,%d]\n",
     138    __FUNCTION__ , local_cxy , CURRENT_THREAD->core->lid );
    139139
    140140    // get pointer on PIC chdev
     
    153153                       lid_t  lid )
    154154{
    155     irq_dmsg("\n[INFO] %s : enter / src_core = [%x,%d] / dst_core = [%x,%d] / cycle %d\n",
    156              __FUNCTION__, local_cxy, CURRENT_THREAD->core->lid, cxy, lid, hal_time_stamp() );
     155    irq_dmsg("\n[DMSG] %s : enter / src_core = [%x,%d] / dst_core = [%x,%d] / cycle %d\n",
     156    __FUNCTION__, local_cxy, CURRENT_THREAD->core->lid, cxy, lid, hal_time_stamp() );
    157157
    158158    // get pointer on PIC chdev
     
    166166    f( cxy , lid );
    167167
    168     irq_dmsg("\n[INFO] %s : exit / src_core = [%x,%d] / dst_core = [%x,%d] / cycle %d\n",
    169              __FUNCTION__, local_cxy, CURRENT_THREAD->core->lid, cxy, lid, hal_time_stamp() );
     168    irq_dmsg("\n[DMSG] %s : exit / src_core = [%x,%d] / dst_core = [%x,%d] / cycle %d\n",
     169    __FUNCTION__, local_cxy, CURRENT_THREAD->core->lid, cxy, lid, hal_time_stamp() );
    170170}
    171171
Note: See TracChangeset for help on using the changeset viewer.