Changeset 676e833 in mainline for uspace/drv/platform/msim/msim.c


Ignore:
Timestamp:
2017-11-10T14:15:41Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ee98e81
Parents:
7654f3e
Message:

Move receiving side of Msim console to a separate driver. Work around possibility that console character device is not available at the moment input server starts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/msim/msim.c

    r7654f3e r676e833  
    192192static bool msim_add_functions(ddf_dev_t *dev)
    193193{
    194         return msim_add_fun(dev, "disk0", "msim/ddisk", &disk_data);
     194        if (!msim_add_fun(dev, "disk0", "msim/ddisk", &disk_data))
     195                return false;
     196        if (!msim_add_fun(dev, "console", "msim/console", &disk_data))
     197                return false;
     198        return true;
    195199}
    196200
Note: See TracChangeset for help on using the changeset viewer.