Subversion Repositories HelenOS

Rev

Rev 3115 | Rev 4148 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3115 Rev 3761
Line 84... Line 84...
84
        SERVICE_MEM_KLOG);
84
        SERVICE_MEM_KLOG);
85
    if (res != EOK) {
85
    if (res != EOK) {
86
        printf(NAME ": Error initializing memory area\n");
86
        printf(NAME ": Error initializing memory area\n");
87
        return -1;
87
        return -1;
88
    }
88
    }
89
 
89
   
90
    int inr = sysinfo_value("klog.inr");
-
 
91
    int devno = sysinfo_value("klog.devno");
90
    int devno = sysinfo_value("klog.devno");
-
 
91
    int inr = sysinfo_value("klog.inr");
92
    if (ipc_register_irq(inr, devno, 0, NULL) != EOK) {
92
    if (ipc_register_irq(inr, devno, 0, NULL) != EOK) {
93
        printf(NAME ": Error registering klog notifications\n");
93
        printf(NAME ": Error registering klog notifications\n");
94
        return -1;
94
        return -1;
95
    }
95
    }
96
   
96