Changeset 84afc7b in mainline for uspace/srv/console/console.c


Ignore:
Timestamp:
2009-03-18T10:53:12Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e749794
Parents:
8015eeec
Message:

as kernel little brother drivers are not needed anymore, the device numbers do not have to be correlated between kernel and uspace in any way
introduce new syscall sys_device_assign_devno() for generating system-wide unique device numbers for uspace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/console/console.c

    r8015eeec r84afc7b  
    587587       
    588588        /* Receive kernel notifications */
    589         if (sysinfo_value("kconsole.present")) {
    590                 int devno = sysinfo_value("kconsole.devno");
    591                 int inr = sysinfo_value("kconsole.inr");
    592                 if (ipc_register_irq(inr, devno, 0, NULL) != EOK)
    593                         printf(NAME ": Error registering kconsole notifications\n");
    594                
    595                 async_set_interrupt_received(interrupt_received);
    596         }
     589//      if (sysinfo_value("kconsole.present")) {
     590//              int inr = sysinfo_value("kconsole.inr");
     591//              if (ipc_register_irq(inr, device_assign_devno(), 0, NULL) != EOK)
     592//                      printf(NAME ": Error registering kconsole notifications\n");
     593//             
     594//              async_set_interrupt_received(interrupt_received);
     595//      }
    597596       
    598597        // FIXME: avoid connectiong to itself, keep using klog
Note: See TracChangeset for help on using the changeset viewer.