Changeset e4e7cbf in rtems-schedsim


Ignore:
Timestamp:
May 8, 2014, 3:18:14 PM (6 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
master
Children:
b552d29
Parents:
49fbe09
git-author:
Jennifer Averett <jennifer.averett@…> (05/08/14 15:18:14)
git-committer:
Jennifer Averett <jennifer.averett@…> (05/09/14 13:37:18)
Message:

schedsim_smpsimple: Fix smp output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedsim/shell/schedsim_smpsimple/printheir_executing.c

    r49fbe09 re4e7cbf  
    1313#include <rtems.h>
    1414
     15extern uint32_t Schedsim_Current_cpu;
     16
    1517void PRINT_EXECUTING() {
    1618  printf(
    17     "  Thread Executing: 0x%08x priority=%ld\n",
     19    "  CPU %d: Thread Executing 0x%08x priority=%ld\n",
     20     Schedsim_Current_cpu,
    1821    _Thread_Executing->Object.id,
    1922    (long) _Thread_Executing->current_priority
     
    2326void PRINT_HEIR() {
    2427  printf(
    25     "  Thread Heir: 0x%08x priority=%ld\n",
     28    "  CPU %d: Thread Heir 0x%08x priority=%ld\n",
     29    Schedsim_Current_cpu,
    2630    _Thread_Heir->Object.id,
    2731    (long) _Thread_Heir->current_priority
Note: See TracChangeset for help on using the changeset viewer.