Changeset ce5b291f in rtems for c/src/exec/score/cpu/unix/cpu.c
- Timestamp:
- 06/12/00 18:45:54 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f481c39c
- Parents:
- e275cab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/cpu/unix/cpu.c
re275cab rce5b291f 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.