Changeset 726b27c in rtems-schedsim for schedsim/rtems/sched_cpu/rtems/score/cpu.h


Ignore:
Timestamp:
Dec 13, 2013, 5:01:48 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
8703c13
Parents:
9a34e3a
git-author:
Joel Sherrill <joel.sherrill@…> (12/13/13 17:01:48)
git-committer:
Joel Sherrill <joel.sherrill@…> (04/28/14 16:33:52)
Message:

schedsim: Update to latest RTEMS. Works Uniprocessor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedsim/rtems/sched_cpu/rtems/score/cpu.h

    r9a34e3a r726b27c  
    292292 *  XXX document implementation including references if appropriate
    293293 */
    294 #define CPU_USE_DEFERRED_FP_SWITCH       TRUE
     294#define CPU_USE_DEFERRED_FP_SWITCH       FALSE
    295295
    296296/**
     
    461461 *  XXX document implementation including references if appropriate
    462462 */
     463
     464typedef struct {
     465  /* There is no CPU specific per-CPU state */
     466} CPU_Per_CPU_control;
    463467
    464468/**
     
    835839 */
    836840#define _CPU_Context_Initialize( _the_context, _stack_base, _size, \
    837                                  _isr, _entry_point, _is_fp ) \
     841                                 _isr, _entry_point, _is_fp, tls_area ) \
    838842  { \
    839843  }
     
    11241128void _CPU_Install_interrupt_stack( void );
    11251129
     1130typedef uint32_t CPU_Counter_ticks;
     1131
     1132CPU_Counter_ticks _CPU_Counter_read( void );
     1133
     1134CPU_Counter_ticks _CPU_Counter_difference(
     1135  CPU_Counter_ticks second,
     1136  CPU_Counter_ticks first
     1137);
     1138
    11261139/**
    11271140 *  This routine is the CPU dependent IDLE thread body.
     
    12051218);
    12061219
     1220#ifdef RTEMS_SMP
     1221  #define _CPU_Context_switch_to_first_task_smp(_context )
     1222
     1223  RTEMS_COMPILER_PURE_ATTRIBUTE static inline uint32_t
     1224    _CPU_SMP_Get_current_processor( void )
     1225  {
     1226    return 0;
     1227  }
     1228
     1229  #define _CPU_SMP_Send_interrupt( dest);
     1230
     1231  static inline void _CPU_SMP_Processor_event_broadcast( void )
     1232  {
     1233  }
     1234
     1235  static inline void _CPU_SMP_Processor_event_receive( void )
     1236  {
     1237  }
     1238#endif
    12071239typedef struct {
    12081240  uint32_t trap;
     
    12841316  } while (0)
    12851317
    1286 #define _CPU_Context_switch_to_first_task_smp(_ignored)
    1287 
    12881318#ifdef __cplusplus
    12891319}
Note: See TracChangeset for help on using the changeset viewer.