Changeset 164


Ignore:
Timestamp:
Jun 21, 2012, 3:27:29 PM (13 years ago)
Author:
karaoui
Message:

fixing _cxt_switch: use _ttys rather than _tty_puts

Location:
soft/giet_vm/sys
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/sys/ctx_handler.c

    r160 r164  
    8989#if GIET_DEBUG_SWITCH
    9090unsigned int time = _proctime();
    91 _tty_puts( "\n[GIET] Context switch for processor ");
    92 _tty_putw( proc_id );
    93 _tty_puts( " at cycle ");
    94 _tty_putw( time );
    95 _tty_puts("\n");
    96 _tty_puts( " - tasks        = ");
    97 _tty_putw( tasks );
    98 _tty_puts("\n");
    99 _tty_puts( " - curr_task_id = ");
    100 _tty_putw( curr_task_id );
    101 _tty_puts("\n");
    102 _tty_puts( " - next_task_id = ");
    103 _tty_putw( next_task_id );
    104 _tty_puts("\n");
     91_puts( "\n[GIET] Context switch for processor ");
     92_putw( proc_id );
     93_puts( " at cycle ");
     94_putw( time );
     95_puts("\n");
     96_puts( " - tasks        = ");
     97_putw( tasks );
     98_puts("\n");
     99_puts( " - curr_task_id = ");
     100_putw( curr_task_id );
     101_puts("\n");
     102_puts( " - next_task_id = ");
     103_putw( next_task_id );
     104_puts("\n");
    105105#endif
    106106
Note: See TracChangeset for help on using the changeset viewer.