Changeset 380b2231 in rtems
- Timestamp:
- 06/12/00 18:46:11 (23 years ago)
- Children:
- b96734c
- Parents:
- c243c49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/cpu/unix/cpu.c
rc243c49 r380b2231 51 51 52 52 static sigset_t _CPU_Signal_mask; 53 static Context_Control_overlay 54 _CPU_Context_Default_with_ISRs_enabled CPU_STRUCTURE_ALIGNMENT; 55 static Context_Control_overlay 56 _CPU_Context_Default_with_ISRs_disabled CPU_STRUCTURE_ALIGNMENT; 53 static Context_Control_overlay _CPU_Context_Default_with_ISRs_enabled; 54 static Context_Control_overlay _CPU_Context_Default_with_ISRs_disabled; 57 55 58 56 /* … … 201 199 */ 202 200 203 if ( sizeof(Context_Control_overlay) <sizeof(Context_Control) )204 _CPU_Fatal_halt( 0xdeadf ood );201 if ( sizeof(Context_Control_overlay) > sizeof(Context_Control) ) 202 _CPU_Fatal_halt( 0xdeadf00d ); 205 203 206 204 (void) memset( 207 205 &_CPU_Context_Default_with_ISRs_enabled, 208 206 0, 209 sizeof(Context_Control )207 sizeof(Context_Control_overlay) 210 208 ); 211 209 (void) memset( 212 210 &_CPU_Context_Default_with_ISRs_disabled, 213 211 0, 214 sizeof(Context_Control )212 sizeof(Context_Control_overlay) 215 213 ); 216 214
Note: See TracChangeset
for help on using the changeset viewer.