Changeset 9700578 in rtems for c/src/lib/libbsp/i386/go32/clock
- Timestamp:
- 10/30/95 21:54:45 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c4808ca
- Parents:
- ea74482
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i386/go32/clock/ckinit.c
rea74482 r9700578 109 109 } 110 110 111 void ReInstall_clock(112 rtems_isr_entry clock_isr113 )114 {115 rtems_unsigned32 isrlevel = 0;116 117 rtems_interrupt_disable( isrlevel );118 (void) set_vector( clock_isr, CLOCK_VECTOR, 1 );119 rtems_interrupt_enable( isrlevel );120 }121 122 111 void Clock_exit( void ) 123 112 { … … 162 151 ) 163 152 { 153 rtems_unsigned32 isrlevel; 164 154 rtems_libio_ioctl_args_t *args = pargp; 165 155 … … 178 168 else if (args->command == rtems_build_name('N', 'E', 'W', ' ')) 179 169 { 180 ReInstall_clock(args->buffer); 170 rtems_interrupt_disable( isrlevel ); 171 (void) set_vector( args->buffer, CLOCK_VECTOR, 1 ); 172 rtems_interrupt_enable( isrlevel ); 181 173 } 182 174
Note: See TracChangeset
for help on using the changeset viewer.