Rev 4004 | Rev 4164 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4004 | Rev 4148 | ||
---|---|---|---|
Line 584... | Line 584... | ||
584 | /* Register at NS */ |
584 | /* Register at NS */ |
585 | if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) |
585 | if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) |
586 | return -1; |
586 | return -1; |
587 | 587 | ||
588 | /* Receive kernel notifications */ |
588 | /* Receive kernel notifications */ |
589 | if (sysinfo_value("kconsole.present")) { |
589 | // if (sysinfo_value("kconsole.present")) { |
590 | int devno = sysinfo_value("kconsole.devno"); |
- | |
591 | int inr = sysinfo_value("kconsole.inr"); |
590 | // int inr = sysinfo_value("kconsole.inr"); |
592 | if (ipc_register_irq(inr, devno, 0, NULL) != EOK) |
591 | // if (ipc_register_irq(inr, device_assign_devno(), 0, NULL) != EOK) |
593 | printf(NAME ": Error registering kconsole notifications\n"); |
592 | // printf(NAME ": Error registering kconsole notifications\n"); |
594 | 593 | // |
|
595 | async_set_interrupt_received(interrupt_received); |
594 | // async_set_interrupt_received(interrupt_received); |
596 | } |
595 | // } |
597 | 596 | ||
598 | // FIXME: avoid connectiong to itself, keep using klog |
597 | // FIXME: avoid connectiong to itself, keep using klog |
599 | // printf(NAME ": Accepting connections\n"); |
598 | // printf(NAME ": Accepting connections\n"); |
600 | async_manager(); |
599 | async_manager(); |
601 | 600 |