Changeset 05641a9e in mainline for uspace/app/klog/klog.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/app/klog/klog.c
ra5e5030 r05641a9e 43 43 #include <io/stream.h> 44 44 #include <console.h> 45 #include <event.h> 45 46 #include <errno.h> 46 47 … … 83 84 } 84 85 85 // int inr = sysinfo_value("klog.inr"); 86 // if (ipc_register_irq(inr, devno, 0, NULL) != EOK) { 87 // printf(NAME ": Error registering klog notifications\n"); 88 // return -1; 89 // } 86 if (event_subscribe(EVENT_KLOG, 0) != EOK) { 87 printf(NAME ": Error registering klog notifications\n"); 88 return -1; 89 } 90 90 91 91 async_set_interrupt_received(interrupt_received);
Note:
See TracChangeset
for help on using the changeset viewer.