Changeset 76fca31 in mainline for uspace/srv/fb/main.c


Ignore:
Timestamp:
2008-12-16T19:02:07Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ae4443
Parents:
8fe5980
Message:

kconsole is optional
kernel & uspace framebuffer rewrite with speedups (some things are slightly broken yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fb/main.c

    r8fe5980 r76fca31  
    4747{
    4848        void *dest;
    49 
     49       
    5050        dest = as_get_mappable_page(IPC_GET_ARG2(*call));
    5151        if (ipc_answer_1(callid, EOK, (sysarg_t) dest) == 0) {
     
    6262        ipcarg_t phonead;
    6363        bool initialized = false;
    64 
     64       
    6565#ifdef FB_ENABLED
    6666        if (sysinfo_value("fb.kind") == 1) {
    6767                if (fb_init() == 0)
    6868                        initialized = true;
    69         } 
     69        }
    7070#endif
    7171#ifdef EGA_ENABLED
     
    9090        if (!initialized)
    9191                return -1;
    92 
     92       
    9393        if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0)
    9494                return -1;
     
    9696        printf(NAME ": Accepting connections\n");
    9797        async_manager();
     98       
    9899        /* Never reached */
    99100        return 0;
Note: See TracChangeset for help on using the changeset viewer.