Changeset 5f4c41b2 in mainline for uspace/srv


Ignore:
Timestamp:
2017-11-26T02:41:55Z (8 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.

Location:
uspace/srv/hid/output
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/Makefile

    r9940ce0 r5f4c41b2  
    3636        port/ega.c \
    3737        port/kchar.c \
    38         port/niagara.c \
    3938        port/chardev.c \
    4039        proto/vt100.c \
  • uspace/srv/hid/output/output.c

    r9940ce0 r5f4c41b2  
    3737#include "port/ega.h"
    3838#include "port/kchar.h"
    39 #include "port/niagara.h"
    4039#include "port/chardev.h"
    4140#include "output.h"
     
    479478                ega_init();
    480479                kchar_init();
    481                 niagara_init();
    482480        }
    483481       
  • 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.