Changeset 76fca31 in mainline for uspace/srv/fb/main.c
- Timestamp:
- 2008-12-16T19:02:07Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ae4443
- Parents:
- 8fe5980
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fb/main.c
r8fe5980 r76fca31 47 47 { 48 48 void *dest; 49 49 50 50 dest = as_get_mappable_page(IPC_GET_ARG2(*call)); 51 51 if (ipc_answer_1(callid, EOK, (sysarg_t) dest) == 0) { … … 62 62 ipcarg_t phonead; 63 63 bool initialized = false; 64 64 65 65 #ifdef FB_ENABLED 66 66 if (sysinfo_value("fb.kind") == 1) { 67 67 if (fb_init() == 0) 68 68 initialized = true; 69 } 69 } 70 70 #endif 71 71 #ifdef EGA_ENABLED … … 90 90 if (!initialized) 91 91 return -1; 92 92 93 93 if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0) 94 94 return -1; … … 96 96 printf(NAME ": Accepting connections\n"); 97 97 async_manager(); 98 98 99 /* Never reached */ 99 100 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.