Ignore:
Timestamp:
2017-11-26T02:41:55Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f4cfd271
Parents:
9940ce0
Message:

Move sending side of Sun4v console out of output server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/port/chardev.c

    r9940ce0 r5f4c41b2  
    151151        }
    152152
     153        printf("%s: Connecting service %zu\n", NAME, sid);
     154        char *name;
     155        rc = loc_service_get_name(sid, &name);
     156        if (rc != EOK) {
     157                fibril_mutex_unlock(&discovery_lock);
     158                return;
     159        }
     160        printf("%s: Service name is %s\n", NAME, name);
     161        free(name);
     162
    153163        sess = loc_service_connect(sid, INTERFACE_DDF, IPC_FLAG_BLOCKING);
    154164        if (!sess) {
     
    176186        if (!config_key_exists("console")) {
    177187                console = NULL;
    178 #ifndef MACHINE_ski
     188#ifdef MACHINE_ski
     189                /* OK */
     190#elif defined(UARCH_sparc64) && defined(PROCESSOR_sun4v)
     191                /* OK */
     192#else
    179193                return EOK;
    180194#endif
Note: See TracChangeset for help on using the changeset viewer.