Rev 1184 | Rev 1303 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1184 | Rev 1287 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #include <typedefs.h> |
32 | #include <typedefs.h> |
33 | 33 | ||
34 | #include <arch/pm.h> |
34 | #include <arch/pm.h> |
35 | 35 | ||
36 | #include <arch/ega.h> |
36 | #include <arch/ega.h> |
- | 37 | #include <arch/vesa.h> |
|
37 | #include <genarch/i8042/i8042.h> |
38 | #include <genarch/i8042/i8042.h> |
38 | #include <arch/i8254.h> |
39 | #include <arch/i8254.h> |
39 | #include <arch/i8259.h> |
40 | #include <arch/i8259.h> |
40 | 41 | ||
41 | #include <arch/context.h> |
42 | #include <arch/context.h> |
Line 73... | Line 74... | ||
73 | } |
74 | } |
74 | 75 | ||
75 | void arch_post_mm_init(void) |
76 | void arch_post_mm_init(void) |
76 | { |
77 | { |
77 | if (config.cpu_active == 1) { |
78 | if (config.cpu_active == 1) { |
- | 79 | ||
- | 80 | #ifdef CONFIG_FB |
|
- | 81 | if (vesa_present()) vesa_init(); |
|
- | 82 | else |
|
- | 83 | #endif |
|
78 | ega_init(); /* video */ |
84 | ega_init(); /* video */ |
- | 85 | ||
- | 86 | ||
79 | /* Enable debugger */ |
87 | /* Enable debugger */ |
80 | debugger_init(); |
88 | debugger_init(); |
81 | } |
89 | } |
82 | } |
90 | } |
83 | 91 |