Subversion Repositories HelenOS

Rev

Rev 2131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2131 Rev 2292
Line 88... Line 88...
88
    klog_parea.frames = 1 << KLOG_ORDER;
88
    klog_parea.frames = 1 << KLOG_ORDER;
89
    klog_parea.cacheable = true;
89
    klog_parea.cacheable = true;
90
    ddi_parea_register(&klog_parea);
90
    ddi_parea_register(&klog_parea);
91
 
91
 
92
    sysinfo_set_item_val("klog.faddr", NULL, (unative_t) faddr);
92
    sysinfo_set_item_val("klog.faddr", NULL, (unative_t) faddr);
93
    sysinfo_set_item_val("klog.fcolor", NULL, (unative_t)
-
 
94
        PAGE_COLOR((uintptr_t) klog));
-
 
95
    sysinfo_set_item_val("klog.pages", NULL, 1 << KLOG_ORDER);
93
    sysinfo_set_item_val("klog.pages", NULL, 1 << KLOG_ORDER);
96
    sysinfo_set_item_val("klog.devno", NULL, devno);
94
    sysinfo_set_item_val("klog.devno", NULL, devno);
97
    sysinfo_set_item_val("klog.inr", NULL, KLOG_VIRT_INR);
95
    sysinfo_set_item_val("klog.inr", NULL, KLOG_VIRT_INR);
98
 
96
 
99
    irq_initialize(&klog_irq);
97
    irq_initialize(&klog_irq);