Changeset 254 for trunk/hal/x86_64/core
- Timestamp:
- Jul 20, 2017, 2:24:37 PM (8 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
- 
          - 2 edited
 
 - 
          hal_drivers.c (modified) (1 diff)
- 
          hal_init.c (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        trunk/hal/x86_64/core/hal_drivers.cr252 r254 31 31 void hal_drivers_txt_init(chdev_t *txt, uint32_t impl) 32 32 { 33 if (impl != IMPL_TXT_RS2) { 34 x86_panic("undefined TXT device implementation"); 35 } 36 33 37 txt_rs232_init(txt); 34 38 } 
- 
        trunk/hal/x86_64/core/hal_init.cr252 r254 199 199 200 200 /* COM1 */ 201 dev->irq[IRQ_COM1].dev_type = (DEV_FUNC_TXT << 16) | IMPL_TXT_ TTY;201 dev->irq[IRQ_COM1].dev_type = (DEV_FUNC_TXT << 16) | IMPL_TXT_RS2; 202 202 dev->irq[IRQ_COM1].channel = 0; 203 203 dev->irq[IRQ_COM1].is_rx = 0; … … 216 216 217 217 dev->base = 0; 218 dev->type = (DEV_FUNC_TXT << 16) | IMPL_TXT_ TTY;218 dev->type = (DEV_FUNC_TXT << 16) | IMPL_TXT_RS2; 219 219 dev->channels = 1; 220 220 dev->param0 = 0; 
Note: See TracChangeset
          for help on using the changeset viewer.
      
