Changeset 156cb91 in rtems-schedsim


Ignore:
Timestamp:
05/14/14 14:23:26 (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
05a8dca
Parents:
0caea4a
git-author:
Joel Sherrill <joel.sherrill@…> (05/14/14 14:23:26)
git-committer:
Joel Sherrill <joel.sherrill@…> (05/14/14 14:52:02)
Message:

shell/shared: Add task get/set affinity

Location:
schedsim/shell/shared
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • schedsim/shell/shared/Makefile.am

    r0caea4a r156cb91  
    5050libschedsim_a_SOURCES += shell_cmdset.c
    5151libschedsim_a_SOURCES += shell_makeargs.c
     52if HAS_SMP
     53libschedsim_a_SOURCES += main_taskgetaffinity.c
     54libschedsim_a_SOURCES += main_tasksetaffinity.c
     55endif
    5256
    5357schedsim_shell_includedir = $(includedir)/schedsim
  • schedsim/shell/shared/commands.c

    r0caea4a r156cb91  
    2424extern rtems_shell_cmd_t rtems_shell_TASK_RESUME_Command;
    2525extern rtems_shell_cmd_t rtems_shell_TASK_WAKE_AFTER_Command;
     26#if RTEMS_SMP
     27  extern rtems_shell_cmd_t rtems_shell_TASK_GET_AFFINITY_Command;
     28  extern rtems_shell_cmd_t rtems_shell_TASK_SET_AFFINITY_Command;
     29#endif
    2630
    2731extern rtems_shell_cmd_t rtems_shell_CLOCK_TICK_Command;
     
    5155  &rtems_shell_TASK_RESUME_Command,
    5256  &rtems_shell_TASK_WAKE_AFTER_Command,
     57  #if RTEMS_SMP
     58    &rtems_shell_TASK_GET_AFFINITY_Command,
     59    &rtems_shell_TASK_SET_AFFINITY_Command,
     60  #endif
    5361
    5462  &rtems_shell_CLOCK_TICK_Command,
Note: See TracChangeset for help on using the changeset viewer.