Subversion Repositories HelenOS

Rev

Rev 2015 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2015 Rev 2025
Line 43... Line 43...
43
{
43
{
44
    void *dest;
44
    void *dest;
45
 
45
 
46
    dest = as_get_mappable_page(IPC_GET_ARG2(*call),
46
    dest = as_get_mappable_page(IPC_GET_ARG2(*call),
47
        PAGE_COLOR(IPC_GET_ARG1(*call)));
47
        PAGE_COLOR(IPC_GET_ARG1(*call)));
48
    if (ipc_answer_fast(callid, 0, (sysarg_t)dest, 0) == 0) {
48
    if (ipc_answer_fast(callid, 0, (sysarg_t) dest, 0) == 0) {
49
        if (*area)
49
        if (*area)
50
            as_area_destroy(*area);
50
            as_area_destroy(*area);
51
        *area = dest;
51
        *area = dest;
52
    }
52
    }
53
}
53
}
Line 62... Line 62...
62
        if (fb_init() == 0)
62
        if (fb_init() == 0)
63
            initialized = 1;
63
            initialized = 1;
64
    }
64
    }
65
#endif
65
#endif
66
#ifdef EGA_ENABLED
66
#ifdef EGA_ENABLED
67
    if (! initialized && sysinfo_value("fb.kind") == 2) {
67
    if (!initialized && sysinfo_value("fb.kind") == 2) {
68
        if (ega_init() == 0)
68
        if (ega_init() == 0)
69
            initialized = 1;
69
            initialized = 1;
70
    }
70
    }
71
#endif
71
#endif
72
 
72