Changeset 536ec42 in mainline
- Timestamp:
- 2008-06-03T15:10:53Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4b4b47
- Parents:
- 2f65fb0
- Location:
- uspace/srv/fb
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fb/main.c
r2f65fb0 r536ec42 34 34 #include <align.h> 35 35 #include <errno.h> 36 #include <stdio.h> 36 37 37 38 #include "fb.h" 38 #include "sysio.h"39 39 #include "ega.h" 40 40 #include "main.h" 41 42 #define NAME "fb" 41 43 42 44 void receive_comm_area(ipc_callid_t callid, ipc_call_t *call, void **area) … … 54 56 int main(int argc, char *argv[]) 55 57 { 58 printf(NAME ": HelenOS Framebuffer service\n"); 59 56 60 ipcarg_t phonead; 57 61 int initialized = 0; … … 71 75 72 76 if (!initialized) 73 sysio_init();77 return -1; 74 78 75 79 if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0) 76 80 return -1; 77 81 82 printf(NAME ": Accepting connections\n"); 78 83 async_manager(); 79 84 /* Never reached */
Note:
See TracChangeset
for help on using the changeset viewer.