Ignore:
Timestamp:
Oct 30, 1995, 9:54:45 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c4808ca
Parents:
ea74482
Message:

SPARC port passes all tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/force386/clock/ckinit.c

    rea74482 r9700578  
    7676}
    7777
    78 void ReInstall_clock(
    79   rtems_isr_entry clock_isr
    80 )
    81 {
    82   rtems_unsigned32 isrlevel = 0;
    83 
    84   rtems_interrupt_disable( isrlevel );
    85    (void) set_vector( clock_isr, CLOCK_VECTOR, 1 );
    86   rtems_interrupt_enable( isrlevel );
    87 }
    88 
    8978void Clock_exit( void )
    9079{
     
    120109)
    121110{
     111    rtems_unsigned32 isrlevel;
    122112    rtems_libio_ioctl_args_t *args = pargp;
    123113 
     
    136126    else if (args->command == rtems_build_name('N', 'E', 'W', ' '))
    137127    {
    138         ReInstall_clock(args->buffer);
     128      rtems_interrupt_disable( isrlevel );
     129       (void) set_vector( args->buffer, CLOCK_VECTOR, 1 );
     130      rtems_interrupt_enable( isrlevel );
    139131    }
    140132 
Note: See TracChangeset for help on using the changeset viewer.