Changeset f9b2cb4c in mainline for uspace/lib/c/generic/io/console.c


Ignore:
Timestamp:
2015-08-23T12:50:23Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9ef495f
Parents:
0dd16778
Message:

unify interface API

  • introduce new interfaces
  • unify location service clients to always expect service ID as the second argument
  • remove obsolete methods that take explicit exchange management arguments (first phase)
  • use interfaces in device drivers, devman, location service, logger, inet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/console.c

    r0dd16778 rf9b2cb4c  
    4949                return NULL;
    5050       
    51         ctrl->input_sess = fsession(EXCHANGE_SERIALIZE, ifile);
     51        ctrl->input_sess = fsession(ifile, INTERFACE_CONSOLE);
    5252        if (!ctrl->input_sess) {
    5353                free(ctrl);
     
    5555        }
    5656       
    57         ctrl->output_sess = fsession(EXCHANGE_SERIALIZE, ofile);
     57        ctrl->output_sess = fsession(ofile, INTERFACE_CONSOLE);
    5858        if (!ctrl->output_sess) {
    5959                free(ctrl);
Note: See TracChangeset for help on using the changeset viewer.