Changeset 77 for trunk/kernel
- Timestamp:
- Jun 27, 2017, 2:38:47 PM (8 years ago)
- Location:
- trunk/kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_txt.c
r49 r77 25 25 #include <hal_special.h> 26 26 #include <hal_remote.h> 27 #include < soclib_tty.h>27 #include <hal_drivers.h> 28 28 #include <thread.h> 29 29 #include <rpc.h> … … 57 57 if( impl == IMPL_TXT_TTY ) 58 58 { 59 chdev->cmd = &soclib_tty_cmd; 60 chdev->isr = &soclib_tty_isr; 61 soclib_tty_init( chdev ); 59 hal_drivers_txt_init( chdev ); 62 60 } 63 61 else -
trunk/kernel/kern/kernel_init.c
r71 r77 53 53 #include <printk.h> 54 54 #include <vfs.h> 55 #include < soclib_tty.h>55 #include <hal_drivers.h> 56 56 #include <devfs.h> 57 57 #include <mapper.h> … … 189 189 remote_spinlock_init( XPTR( local_cxy , &txt0_chdev.wait_lock ) ); 190 190 191 // Complete TXT specific initialisation 192 if( impl == IMPL_TXT_TTY ) 193 { 194 txt0_chdev.cmd = &soclib_tty_cmd; 195 txt0_chdev.isr = &soclib_tty_isr; 196 soclib_tty_init( &txt0_chdev ); 197 } 191 // complete TXT-specific initialization 192 hal_drivers_txt_init( &txt0_chdev ); 198 193 199 194 // initialize the replicated chdev_dir[x][y] structures
Note: See TracChangeset
for help on using the changeset viewer.