Rev 3560 | Rev 4345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3560 | Rev 4338 | ||
---|---|---|---|
Line 86... | Line 86... | ||
86 | SERVICE_MEM_KLOG); |
86 | SERVICE_MEM_KLOG); |
87 | if (res != EOK) { |
87 | if (res != EOK) { |
88 | printf(NAME ": Error initializing memory area\n"); |
88 | printf(NAME ": Error initializing memory area\n"); |
89 | return -1; |
89 | return -1; |
90 | } |
90 | } |
91 | 91 | ||
92 | int inr = sysinfo_value("klog.inr"); |
- | |
93 | int devno = sysinfo_value("klog.devno"); |
92 | int devno = sysinfo_value("klog.devno"); |
- | 93 | int inr = sysinfo_value("klog.inr"); |
|
94 | if (ipc_register_irq(inr, devno, 0, NULL) != EOK) { |
94 | if (ipc_register_irq(inr, devno, 0, NULL) != EOK) { |
95 | printf(NAME ": Error registering klog notifications\n"); |
95 | printf(NAME ": Error registering klog notifications\n"); |
96 | return -1; |
96 | return -1; |
97 | } |
97 | } |
98 | 98 |