Changeset 479


Ignore:
Timestamp:
Jan 1, 2015, 8:02:02 PM (9 years ago)
Author:
alain
Message:

Cosmetic: improve debug.

Location:
soft/giet_vm/giet_libs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/mwmr_channel.c

    r468 r479  
    5050unsigned int    lpid;
    5151giet_proc_xyp( &x, &y, &lpid );
     52giet_shr_printf("\n[MWMR DEBUG] Proc[%d,%d,%d] enters nb_mwmr_write()"
     53                " : mwmr = %x / buffer = %x / items =  %d\n",
     54                x, y, lpid, (unsigned int)mwmr, (unsigned int)buffer, items );
    5255#endif
    5356
     
    132135unsigned int    lpid;
    133136giet_proc_xyp( &x, &y, &lpid );
     137giet_shr_printf("\n[MWMR DEBUG] Proc[%d,%d,%d] enters nb_mwmr_read()"
     138                " : mwmr = %x / buffer = %x / items =  %d\n",
     139                x, y, lpid, (unsigned int)mwmr, (unsigned int)buffer, items );
    134140#endif
    135141
     
    218224unsigned int    lpid;
    219225giet_proc_xyp( &x, &y, &lpid );
     226giet_shr_printf("\n[MWMR DEBUG] Proc[%d,%d,%d] enters mwmr_write()"
     227                " : mwmr = %x / buffer = %x / items =  %d\n",
     228                x, y, lpid, (unsigned int)mwmr, (unsigned int)buffer, items );
    220229#endif
    221230
     
    305314unsigned int    lpid;
    306315giet_proc_xyp( &x, &y, &lpid );
     316giet_shr_printf("\n[MWMR DEBUG] Proc[%d,%d,%d] enters mwmr_read()"
     317                " : mwmr = %x / buffer = %x / items =  %d\n",
     318                x, y, lpid, (unsigned int)mwmr, (unsigned int)buffer, items );
    307319#endif
    308320
  • soft/giet_vm/giet_libs/mwmr_channel.h

    r461 r479  
    2222//
    2323// Both the mwmr_read() and mwmr_write() functions are blocking functions.
    24 // A private file_lock provides exclusive access to the MWMR channel.
     24// A queuing lock provides exclusive access to the MWMR channel.
    2525///////////////////////////////////////////////////////////////////////////////////
    2626
Note: See TracChangeset for help on using the changeset viewer.