Ignore:
Timestamp:
Oct 30, 1995, 9:54:45 PM (26 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/m68k/mvme162/clock/ckinit.c

    rea74482 r9700578  
    9090}
    9191
    92 void ReInstall_clock(rtems_isr_entry clock_isr)
    93 {
    94   rtems_unsigned32 isrlevel;
    95 
    96   rtems_interrupt_disable( isrlevel );
    97   (void) set_vector( clock_isr, CLOCK_VECTOR, 1 );
    98   rtems_interrupt_enable( isrlevel );
    99 }
    100 
    10192void Clock_exit( void )
    10293{
     
    128119)
    129120{
     121    rtems_unsigned32 isrlevel;
    130122    rtems_libio_ioctl_args_t *args = pargp;
    131123 
     
    144136    else if (args->command == rtems_build_name('N', 'E', 'W', ' '))
    145137    {
    146         ReInstall_clock(args->buffer);
     138      rtems_interrupt_disable( isrlevel );
     139       (void) set_vector( args->buffer, CLOCK_VECTOR, 1 );
     140      rtems_interrupt_enable( isrlevel );
    147141    }
    148142 
Note: See TracChangeset for help on using the changeset viewer.