Changeset 245 for trunk/kernel
- Timestamp:
- Jul 20, 2017, 12:46:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_txt.c
r244 r245 30 30 #include <printk.h> 31 31 #include <dev_txt.h> 32 #include <soclib_tty.h>33 32 34 33 ///////////////////////////////////////////////////////////////////////////////////////// … … 55 54 snprintf( txt->name , 16 , "txt_%d" , channel ); 56 55 57 // set fields "cmd", "isr", and call driver init function 58 if( impl == IMPL_TXT_TTY ) 59 { 60 soclib_tty_init( txt ); 61 } 62 else 63 { 64 assert( false , __FUNCTION__ , "undefined TXT device implementation" ); 65 } 56 // call driver init function 57 hal_drivers_txt_init(txt, impl); 66 58 67 59 // no server thread and no IRQ routing for TXT0
Note: See TracChangeset
for help on using the changeset viewer.