Subversion Repositories HelenOS

Rev

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

Rev 3742 Rev 4073
Line 38... Line 38...
38
#include "fb.h"
38
#include "fb.h"
39
#include "ega.h"
39
#include "ega.h"
40
#include "msim.h"
40
#include "msim.h"
41
#include "ski.h"
41
#include "ski.h"
42
#include "sgcn.h"
42
#include "sgcn.h"
-
 
43
#include "niagara.h"
43
#include "main.h"
44
#include "main.h"
44
 
45
 
45
#define NAME "fb"
46
#define NAME "fb"
46
 
47
 
47
void receive_comm_area(ipc_callid_t callid, ipc_call_t *call, void **area)
48
void receive_comm_area(ipc_callid_t callid, ipc_call_t *call, void **area)
Line 85... Line 86...
85
    if ((!initialized) && (sysinfo_value("fb.kind") == 4)) {
86
    if ((!initialized) && (sysinfo_value("fb.kind") == 4)) {
86
        if (sgcn_init() == 0)
87
        if (sgcn_init() == 0)
87
            initialized = true;
88
            initialized = true;
88
    }
89
    }
89
#endif
90
#endif
-
 
91
    if ((!initialized) && (sysinfo_value("fb.kind") == 5)) {
-
 
92
        if (niagara_init() == 0)
-
 
93
            initialized = true;
-
 
94
    }
90
#ifdef SKI_ENABLED
95
#ifdef SKI_ENABLED
91
    if ((!initialized) && (sysinfo_value("fb") != true)) {
96
    if ((!initialized) && (sysinfo_value("fb") != true)) {
92
        if (ski_init() == 0)
97
        if (ski_init() == 0)
93
            initialized = true;
98
            initialized = true;
94
    }
99
    }