Changeset 9700578 in rtems for c/src/lib/libbsp/i960
- 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/i960/cvme961
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i960/cvme961/clock/ckinit.c
rea74482 r9700578 61 61 } 62 62 63 void ReInstall_clock(64 rtems_isr_entry clock_isr65 )66 {67 (void) set_vector( clock_isr, CLOCK_VECTOR, 1 );68 }69 70 63 void Clock_exit() 71 64 { … … 106 99 ) 107 100 { 101 rtems_unsigned32 isrlevel; 108 102 rtems_libio_ioctl_args_t *args = pargp; 109 103 … … 122 116 else if (args->command == rtems_build_name('N', 'E', 'W', ' ')) 123 117 { 124 ReInstall_clock(args->buffer); 118 rtems_interrupt_disable( isrlevel ); 119 (void) set_vector( args->buffer, CLOCK_VECTOR, 1 ); 120 rtems_interrupt_enable( isrlevel ); 125 121 } 126 122 -
c/src/lib/libbsp/i960/cvme961/startup/bspstart.c
rea74482 r9700578 125 125 { 126 126 int stdin_fd, stdout_fd, stderr_fd; 127 int error_code; 128 129 error_code = 'S' << 24 | 'T' << 16; 127 130 128 131 if ((stdin_fd = __open("/dev/console", O_RDONLY, 0)) == -1) 129 rtems_fatal_error_occurred( 'STD0');132 rtems_fatal_error_occurred( error_code | 'D' << 8 | '0' ); 130 133 131 134 if ((stdout_fd = __open("/dev/console", O_WRONLY, 0)) == -1) 132 rtems_fatal_error_occurred( 'STD1');135 rtems_fatal_error_occurred( error_code | 'D' << 8 | '1' ); 133 136 134 137 if ((stderr_fd = __open("/dev/console", O_WRONLY, 0)) == -1) 135 rtems_fatal_error_occurred( 'STD2');138 rtems_fatal_error_occurred( error_code | 'D' << 8 | '2' ); 136 139 137 140 if ((stdin_fd != 0) || (stdout_fd != 1) || (stderr_fd != 2)) 138 rtems_fatal_error_occurred( 'STIO');141 rtems_fatal_error_occurred( error_code | 'I' << 8 | 'O' ); 139 142 } 140 143
Note: See TracChangeset
for help on using the changeset viewer.