Rev 3996 | Rev 4173 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3996 | Rev 4148 | ||
---|---|---|---|
Line 79... | Line 79... | ||
79 | if (res != EOK) { |
79 | if (res != EOK) { |
80 | printf(NAME ": Error initializing memory area\n"); |
80 | printf(NAME ": Error initializing memory area\n"); |
81 | return -1; |
81 | return -1; |
82 | } |
82 | } |
83 | 83 | ||
84 | int devno = sysinfo_value("klog.devno"); |
- | |
85 | int inr = sysinfo_value("klog.inr"); |
84 | // int inr = sysinfo_value("klog.inr"); |
86 | if (ipc_register_irq(inr, devno, 0, NULL) != EOK) { |
85 | // if (ipc_register_irq(inr, devno, 0, NULL) != EOK) { |
87 | printf(NAME ": Error registering klog notifications\n"); |
86 | // printf(NAME ": Error registering klog notifications\n"); |
88 | return -1; |
87 | // return -1; |
89 | } |
88 | // } |
90 | 89 | ||
91 | async_set_interrupt_received(interrupt_received); |
90 | async_set_interrupt_received(interrupt_received); |
92 | klog_update(); |
91 | klog_update(); |
93 | async_manager(); |
92 | async_manager(); |
94 | 93 |