Changeset 271b540 in mainline


Ignore:
Timestamp:
2008-06-03T15:09:48Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f65fb0
Parents:
e623197
Message:

service banner

File:
1 edited

Legend:

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

    re623197 r271b540  
    4747#include <screenbuffer.h>
    4848#include <sys/mman.h>
     49#include <stdio.h>
    4950
    5051#include "gcons.h"
     
    5253#define MAX_KEYREQUESTS_BUFFERED 32
    5354
    54 #define NAME "CONSOLE"
     55#define NAME "console"
    5556
    5657/** Index of currently used virtual console.
     
    475476int main(int argc, char *argv[])
    476477{
     478        printf(NAME ": HelenOS Console service\n");
     479       
    477480        ipcarg_t phonehash;
    478481        int kbd_phone;
     
    551554
    552555        /* Register at NS */
    553         if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
     556        if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, 0, &phonehash) != 0)
    554557                return -1;
    555         }
    556        
     558       
     559        // FIXME: avoid connectiong to itself, keep using klog
     560        // printf(NAME ": Accepting connections\n");
    557561        async_manager();
    558562
Note: See TracChangeset for help on using the changeset viewer.