Changeset 9700578 in rtems for c/src/lib/libbsp/m68k/efi68k
- 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
- Location:
- c/src/lib/libbsp/m68k/efi68k
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/efi68k/clock/ckinit.c
rea74482 r9700578 94 94 } 95 95 96 void ReInstall_clock(97 rtems_isr_entry clock_isr98 )99 {100 rtems_unsigned32 isrlevel = 0 ;101 102 rtems_interrupt_disable( isrlevel );103 (void) set_vector( clock_isr, CLOCK_VECTOR, 1 );104 rtems_interrupt_enable( isrlevel );105 }106 107 96 void Clock_exit( void ) 108 97 { … … 142 131 ) 143 132 { 133 rtems_unsigned32 isrlevel; 144 134 rtems_libio_ioctl_args_t *args = pargp; 145 135 … … 158 148 else if (args->command == rtems_build_name('N', 'E', 'W', ' ')) 159 149 { 160 ReInstall_clock(args->buffer); 150 rtems_interrupt_disable( isrlevel ); 151 (void) set_vector( args->buffer, CLOCK_VECTOR, 1 ); 152 rtems_interrupt_enable( isrlevel ); 161 153 } 162 154 -
c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c
rea74482 r9700578 131 131 { 132 132 int stdin_fd, stdout_fd, stderr_fd; 133 int error_code; 134 135 error_code = 'S' << 24 | 'T' << 16; 133 136 134 137 if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) 135 rtems_fatal_error_occurred( 'STD0');138 rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); 136 139 137 140 if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) 138 rtems_fatal_error_occurred( 'STD1');141 rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); 139 142 140 143 if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) 141 rtems_fatal_error_occurred( 'STD2');144 rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); 142 145 143 146 if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) 144 rtems_fatal_error_occurred( 'STIO');147 rtems_fatal_error_occurred( error_code | 'I' << 8 | 'O' ); 145 148 } 146 149
Note: See TracChangeset
for help on using the changeset viewer.