- Timestamp:
- Jul 20, 2017, 2:24:37 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_drivers.c
r252 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.c
r252 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; -
trunk/kernel/devices/dev_txt.h
r49 r254 53 53 { 54 54 IMPL_TXT_TTY = 0, 55 IMPL_TXT_ X86= 1,55 IMPL_TXT_RS2 = 1, 56 56 } 57 57 txt_impl_t;
Note: See TracChangeset
for help on using the changeset viewer.