Changeset 271b540 in mainline for uspace/srv/console/console.c
- Timestamp:
- 2008-06-03T15:09:48Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2f65fb0
- Parents:
- e623197
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
re623197 r271b540 47 47 #include <screenbuffer.h> 48 48 #include <sys/mman.h> 49 #include <stdio.h> 49 50 50 51 #include "gcons.h" … … 52 53 #define MAX_KEYREQUESTS_BUFFERED 32 53 54 54 #define NAME " CONSOLE"55 #define NAME "console" 55 56 56 57 /** Index of currently used virtual console. … … 475 476 int main(int argc, char *argv[]) 476 477 { 478 printf(NAME ": HelenOS Console service\n"); 479 477 480 ipcarg_t phonehash; 478 481 int kbd_phone; … … 551 554 552 555 /* 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) 554 557 return -1; 555 } 556 558 559 // FIXME: avoid connectiong to itself, keep using klog 560 // printf(NAME ": Accepting connections\n"); 557 561 async_manager(); 558 562
Note:
See TracChangeset
for help on using the changeset viewer.