Changeset 1f5c9c96 in mainline for kernel/arch/ia32/src/ia32.c
- Timestamp:
- 2011-12-02T17:29:43Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b8b1e631, c3887ad
- Parents:
- c48f6ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/ia32.c
rc48f6ab r1f5c9c96 42 42 43 43 #include <genarch/multiboot/multiboot.h> 44 #include <genarch/multiboot/multiboot2.h> 44 45 #include <genarch/drivers/legacy/ia32/io.h> 45 46 #include <genarch/drivers/ega/ega.h> 46 #include < arch/drivers/vesa.h>47 #include <genarch/fb/bfb.h> 47 48 #include <genarch/drivers/i8042/i8042.h> 48 49 #include <genarch/kbrd/kbrd.h> … … 76 77 /** Perform ia32-specific initialization before main_bsp() is called. 77 78 * 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) 79 * @param signature Multiboot signature. 80 * @param info Multiboot information structure. 81 * 82 */ 83 void arch_pre_main(uint32_t signature, void *info) 82 84 { 83 85 /* Parse multiboot information obtained from the bootloader. */ 84 multiboot_info_parse(signature, mi); 86 multiboot_info_parse(signature, (multiboot_info_t *) info); 87 multiboot2_info_parse(signature, (multiboot2_info_t *) info); 85 88 86 89 #ifdef CONFIG_SMP … … 114 117 115 118 #if (defined(CONFIG_FB) || defined(CONFIG_EGA)) 116 bool vesa= false;119 bool bfb = false; 117 120 #endif 118 121 119 122 #ifdef CONFIG_FB 120 vesa = vesa_init();123 bfb = bfb_init(); 121 124 #endif 122 125 123 126 #ifdef CONFIG_EGA 124 if (! vesa) {127 if (!bfb) { 125 128 outdev_t *egadev = ega_init(EGA_BASE, EGA_VIDEORAM); 126 129 if (egadev)
Note:
See TracChangeset
for help on using the changeset viewer.