Changeset 0fdc099 in rtems for c/src/lib/libbsp/sh/shared
- Timestamp:
- Apr 16, 2004, 9:51:30 PM (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 714f06c
- Parents:
- 3906b3ea
- Location:
- c/src/lib/libbsp/sh/shared
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/sh/shared/console.c
r3906b3ea r0fdc099 2 2 * /dev/console for Hitachi SH 703X 3 3 * 4 * The SH doesn't have a designated console device. Therefore we "alias" 5 * another device as /dev/console and revector all calls to /dev/console 4 * The SH doesn't have a designated console device. Therefore we "alias" 5 * another device as /dev/console and revector all calls to /dev/console 6 6 * to this device. 7 7 * 8 * This approach is similar to installing a sym-link from one device to 9 * another device. If rtems once will support sym-links for devices files, 8 * This approach is similar to installing a sym-link from one device to 9 * another device. If rtems once will support sym-links for devices files, 10 10 * this implementation could be dropped. 11 11 * … … 17 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19 * 19 * 20 20 * 21 21 * COPYRIGHT (c) 1998. … … 58 58 { 59 59 rtems_device_driver status; 60 60 61 61 status = rtems_io_register_name( 62 62 "/dev/console", … … 90 90 arg ); 91 91 } 92 92 93 93 /* 94 94 * Close entry point … … 122 122 123 123 /* 124 * write bytes to the serial port. Stdout and stderr are the same. 124 * write bytes to the serial port. Stdout and stderr are the same. 125 125 */ 126 126 -
c/src/lib/libbsp/sh/shared/setvec.c
r3906b3ea r0fdc099 2 2 * 3 3 * NOTE: This function is considered OBSOLETE and may vanish soon. 4 * Calls to set_vector should be replaced by calls to 4 * Calls to set_vector should be replaced by calls to 5 5 * rtems_interrupt_catch or _CPU_ISR_install_raw_handler. 6 6 *
Note: See TracChangeset
for help on using the changeset viewer.