Ignore:
Timestamp:
10/30/95 21:54:45 (27 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/dmv152/clock/ckinit.c

    rea74482 r9700578  
    9898}
    9999
    100 void ReInstall_clock(
    101   rtems_isr_entry clock_isr
    102 )
    103 {
    104   rtems_unsigned32 isrlevel = 0 ;
    105 
    106   rtems_interrupt_disable( isrlevel );
    107    (void) set_vector( clock_isr, CLOCK_VECTOR, 1 );
    108   rtems_interrupt_enable( isrlevel );
    109 }
    110 
    111100void Clock_exit( void )
    112101{
     
    146135)
    147136{
     137    rtems_unsigned32 isrlevel;
    148138    rtems_libio_ioctl_args_t *args = pargp;
    149139 
     
    162152    else if (args->command == rtems_build_name('N', 'E', 'W', ' '))
    163153    {
    164         ReInstall_clock(args->buffer);
     154      rtems_interrupt_disable( isrlevel );
     155       (void) set_vector( args->buffer, CLOCK_VECTOR, 1 );
     156      rtems_interrupt_enable( isrlevel );
    165157    }
    166158 
Note: See TracChangeset for help on using the changeset viewer.