Changeset 1690c6b in rtems


Ignore:
Timestamp:
Jul 21, 1995, 8:10:49 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2f2a597
Parents:
9e738b65
Message:

after testing go32 and cvme961

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/headers/sptables.h

    r9e738b65 r1690c6b  
    4343
    4444const char _RTEMS_version[] =
    45   "RTEMS RELEASE V3.2.01 (" CPU_NAME "/" RTEMS_MODEL_NAME ")";
     45  "RTEMS RELEASE V3.2.02 (" CPU_NAME "/" RTEMS_MODEL_NAME ")";
    4646
    4747
  • c/src/exec/sapi/include/rtems/sptables.h

    r9e738b65 r1690c6b  
    4343
    4444const char _RTEMS_version[] =
    45   "RTEMS RELEASE V3.2.01 (" CPU_NAME "/" RTEMS_MODEL_NAME ")";
     45  "RTEMS RELEASE V3.2.02 (" CPU_NAME "/" RTEMS_MODEL_NAME ")";
    4646
    4747
  • c/src/exec/score/cpu/i386/cpu.c

    r9e738b65 r1690c6b  
    8787    _go32_dpmi_seginfo handler_info;
    8888 
    89     *old_handler =  0;    /* XXX not supported */
     89    /* get the address of the old handler */
     90    _go32_dpmi_get_protected_mode_interrupt_vector( vector, &handler_info);
     91 
     92    /* Notice how we're failing to save the pm_segment portion of the */
     93    /* structure here?  That means we might crash the system if we  */
     94    /* try to restore the ISR.  Can't fix this until i386_isr is  */
     95    /* redefined.  XXX [BHC].           */
     96    *old_handler = (proc_ptr *) handler_info.pm_offset;
    9097
    9198    handler_info.pm_offset = (u_long) new_handler;
  • c/src/lib/libbsp/i386/go32/timer/timer.c

    r9e738b65 r1690c6b  
    4141#else /* pentium */
    4242rtems_isr timerisr();
     43
     44#define TIMER_ISR_US  10000
     45
    4346#endif /* pentium */
    4447
     
    7578       WAIT();
    7679
    77        /* load timer for 250 microsecond period */
     80       /* load timer for TIMER_ISR_US microsecond period */
    7881       outport_byte( TIMER_MODE, TIMER_SEL0|TIMER_16BIT|TIMER_RATEGEN );
    79        outport_byte( TIMER_CNTR0, US_TO_TICK(250) >> 0 & 0xff);
    80        outport_byte( TIMER_CNTR0, US_TO_TICK(250) >> 8 & 0xff);
     82       outport_byte( TIMER_CNTR0, US_TO_TICK(TIMER_ISR_US) >> 0 & 0xff);
     83       outport_byte( TIMER_CNTR0, US_TO_TICK(TIMER_ISR_US) >> 8 & 0xff);
    8184    }
    8285
     
    102105    inport_byte( TIMER_CNTR0, msb );
    103106    clicks = msb << 8 | lsb;
    104     total = Ttimer_val + (250 - TICK_TO_US( clicks ));
     107    total = (Ttimer_val * TIMER_ISR_US) + (TIMER_ISR_US - TICK_TO_US( clicks ));
    105108#endif /* pentium */
    106109
  • c/src/lib/libbsp/i386/go32/timer/timerisr.s

    r9e738b65 r1690c6b  
    2828
    2929SYM (timerisr):
    30         addl    $250,_Ttimer_val   # another 250 microseconds
     30        addl    $1,_Ttimer_val   # another tick
    3131        push    edx
    3232        push    eax
  • c/src/tests/sptests/sp19/init.c

    r9e738b65 r1690c6b  
    4747    Task_name[ 1 ],
    4848    2,
    49     2048,
     49    8192,
    5050    RTEMS_DEFAULT_MODES,
    5151    RTEMS_FLOATING_POINT,
     
    5757    Task_name[ 2 ],
    5858    2,
    59     2048,
     59    8192,
    6060    RTEMS_DEFAULT_MODES,
    6161    RTEMS_DEFAULT_ATTRIBUTES,
     
    6767    Task_name[ 3 ],
    6868    2,
    69     2048,
     69    8192,
    7070    RTEMS_DEFAULT_MODES,
    7171    RTEMS_DEFAULT_ATTRIBUTES,
     
    7777    Task_name[ 4 ],
    7878    2,
    79     2048,
     79    8192,
    8080    RTEMS_DEFAULT_MODES,
    8181    RTEMS_FLOATING_POINT,
     
    8787    Task_name[ 5 ],
    8888    2,
    89     2048,
     89    8192,
    9090    RTEMS_DEFAULT_MODES,
    9191    RTEMS_FLOATING_POINT,
     
    9797    Task_name[ 6 ],
    9898    1,
    99     2048,
     99    8192,
    100100    RTEMS_DEFAULT_MODES,
    101101    RTEMS_FLOATING_POINT,
  • cpukit/score/cpu/i386/cpu.c

    r9e738b65 r1690c6b  
    8787    _go32_dpmi_seginfo handler_info;
    8888 
    89     *old_handler =  0;    /* XXX not supported */
     89    /* get the address of the old handler */
     90    _go32_dpmi_get_protected_mode_interrupt_vector( vector, &handler_info);
     91 
     92    /* Notice how we're failing to save the pm_segment portion of the */
     93    /* structure here?  That means we might crash the system if we  */
     94    /* try to restore the ISR.  Can't fix this until i386_isr is  */
     95    /* redefined.  XXX [BHC].           */
     96    *old_handler = (proc_ptr *) handler_info.pm_offset;
    9097
    9198    handler_info.pm_offset = (u_long) new_handler;
  • testsuites/sptests/sp19/init.c

    r9e738b65 r1690c6b  
    4747    Task_name[ 1 ],
    4848    2,
    49     2048,
     49    8192,
    5050    RTEMS_DEFAULT_MODES,
    5151    RTEMS_FLOATING_POINT,
     
    5757    Task_name[ 2 ],
    5858    2,
    59     2048,
     59    8192,
    6060    RTEMS_DEFAULT_MODES,
    6161    RTEMS_DEFAULT_ATTRIBUTES,
     
    6767    Task_name[ 3 ],
    6868    2,
    69     2048,
     69    8192,
    7070    RTEMS_DEFAULT_MODES,
    7171    RTEMS_DEFAULT_ATTRIBUTES,
     
    7777    Task_name[ 4 ],
    7878    2,
    79     2048,
     79    8192,
    8080    RTEMS_DEFAULT_MODES,
    8181    RTEMS_FLOATING_POINT,
     
    8787    Task_name[ 5 ],
    8888    2,
    89     2048,
     89    8192,
    9090    RTEMS_DEFAULT_MODES,
    9191    RTEMS_FLOATING_POINT,
     
    9797    Task_name[ 6 ],
    9898    1,
    99     2048,
     99    8192,
    100100    RTEMS_DEFAULT_MODES,
    101101    RTEMS_FLOATING_POINT,
Note: See TracChangeset for help on using the changeset viewer.