Changeset 05641a9e in mainline for uspace/srv/console/console.c
- Timestamp:
- 2009-03-23T21:46:40Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c3ebc47
- Parents:
- a5e5030
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
ra5e5030 r05641a9e 50 50 #include <stdio.h> 51 51 #include <sysinfo.h> 52 #include <event.h> 52 53 53 54 #include "console.h" … … 730 731 731 732 /* Receive kernel notifications */ 732 // if (sysinfo_value("kconsole.present")) { 733 // int inr = sysinfo_value("kconsole.inr"); 734 // if (ipc_register_irq(inr, device_assign_devno(), 0, NULL) != EOK) 735 // printf(NAME ": Error registering kconsole notifications\n"); 736 // 737 // async_set_interrupt_received(interrupt_received); 738 // } 733 if (event_subscribe(EVENT_KCONSOLE, 0) != EOK) 734 printf(NAME ": Error registering kconsole notifications\n"); 735 736 async_set_interrupt_received(interrupt_received); 739 737 740 738 // FIXME: avoid connectiong to itself, keep using klog
Note:
See TracChangeset
for help on using the changeset viewer.