Changeset 2b017ba in mainline for uspace/klog/klog.c


Ignore:
Timestamp:
2006-10-16T20:51:55Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5f9b4d9a
Parents:
e3890b3f
Message:

Replace the old IRQ dispatcher and IPC notifier with new implementation.
Note that all architectures except for sparc64 are now broken
and don't even compile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/klog/klog.c

    re3890b3f r2b017ba  
    4141#include <as.h>
    4242#include <kernel/ipc/irq.h>
     43#include <sysinfo.h>
    4344
    4445/* Pointer to klog area */
     
    7374        klog = mapping;
    7475
    75         if (ipc_register_irq(IPC_IRQ_KLOG, NULL)) {
     76        int inr = sysinfo_value("klog.inr");
     77        int devno = sysinfo_value("klog.devno");
     78        if (ipc_register_irq(inr, devno, 0, NULL)) {
    7679                printf("Error registering for klog service.\n");
    7780                return 0;
Note: See TracChangeset for help on using the changeset viewer.