Changeset 98165e21 in rtems


Ignore:
Timestamp:
Jun 10, 2000, 6:36:48 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
e88f4978
Parents:
c5fe7cf6
Message:

Check that context control overlay is big enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/unix/cpu.c

    rc5fe7cf6 r98165e21  
    4343typedef struct {
    4444  jmp_buf   regs;
    45   int  isr_level;
     45  int       isr_level;
    4646} Context_Control_overlay;
    4747
     
    201201   */
    202202
    203 
     203  if ( sizeof(Context_Control_overlay) < sizeof(Context_Control) )
     204    _CPU_Fatal_halt( 0xdeadfood );
     205 
    204206  (void) memset(
    205207    &_CPU_Context_Default_with_ISRs_enabled,
Note: See TracChangeset for help on using the changeset viewer.