Changes in kernel/arch/ia32/src/ia32.c [1f5c9c96:f902d36] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/ia32.c
r1f5c9c96 rf902d36 42 42 43 43 #include <genarch/multiboot/multiboot.h> 44 #include <genarch/multiboot/multiboot2.h>45 44 #include <genarch/drivers/legacy/ia32/io.h> 46 45 #include <genarch/drivers/ega/ega.h> 47 #include < genarch/fb/bfb.h>46 #include <arch/drivers/vesa.h> 48 47 #include <genarch/drivers/i8042/i8042.h> 49 48 #include <genarch/kbrd/kbrd.h> … … 77 76 /** Perform ia32-specific initialization before main_bsp() is called. 78 77 * 79 * @param signature Multiboot signature. 80 * @param info Multiboot information structure. 81 * 82 */ 83 void arch_pre_main(uint32_t signature, void *info) 78 * @param signature Should contain the multiboot signature. 79 * @param mi Pointer to the multiboot information structure. 80 */ 81 void arch_pre_main(uint32_t signature, const multiboot_info_t *mi) 84 82 { 85 83 /* Parse multiboot information obtained from the bootloader. */ 86 multiboot_info_parse(signature, (multiboot_info_t *) info); 87 multiboot2_info_parse(signature, (multiboot2_info_t *) info); 84 multiboot_info_parse(signature, mi); 88 85 89 86 #ifdef CONFIG_SMP … … 117 114 118 115 #if (defined(CONFIG_FB) || defined(CONFIG_EGA)) 119 bool bfb= false;116 bool vesa = false; 120 117 #endif 121 118 122 119 #ifdef CONFIG_FB 123 bfb = bfb_init();120 vesa = vesa_init(); 124 121 #endif 125 122 126 123 #ifdef CONFIG_EGA 127 if (! bfb) {124 if (!vesa) { 128 125 outdev_t *egadev = ega_init(EGA_BASE, EGA_VIDEORAM); 129 126 if (egadev)
Note:
See TracChangeset
for help on using the changeset viewer.