Changes in kernel/arch/amd64/src/amd64.c [1f5c9c96:f902d36] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
r1f5c9c96 rf902d36 41 41 #include <proc/thread.h> 42 42 #include <genarch/multiboot/multiboot.h> 43 #include <genarch/multiboot/multiboot2.h>44 43 #include <genarch/drivers/legacy/ia32/io.h> 45 44 #include <genarch/drivers/ega/ega.h> 46 #include < genarch/fb/bfb.h>45 #include <arch/drivers/vesa.h> 47 46 #include <genarch/drivers/i8042/i8042.h> 48 47 #include <genarch/kbrd/kbrd.h> … … 102 101 /** Perform amd64-specific initialization before main_bsp() is called. 103 102 * 104 * @param signature Multiboot signature. 105 * @param info Multiboot information structure. 106 * 107 */ 108 void arch_pre_main(uint32_t signature, void *info) 103 * @param signature Should contain the multiboot signature. 104 * @param mi Pointer to the multiboot information structure. 105 */ 106 void arch_pre_main(uint32_t signature, const multiboot_info_t *mi) 109 107 { 110 108 /* Parse multiboot information obtained from the bootloader. */ 111 multiboot_info_parse(signature, (multiboot_info_t *) info); 112 multiboot2_info_parse(signature, (multiboot2_info_t *) info); 109 multiboot_info_parse(signature, mi); 113 110 114 111 #ifdef CONFIG_SMP … … 156 153 157 154 #if (defined(CONFIG_FB) || defined(CONFIG_EGA)) 158 bool bfb= false;155 bool vesa = false; 159 156 #endif 160 157 161 158 #ifdef CONFIG_FB 162 bfb = bfb_init();159 vesa = vesa_init(); 163 160 #endif 164 161 165 162 #ifdef CONFIG_EGA 166 if (! bfb) {163 if (!vesa) { 167 164 outdev_t *egadev = ega_init(EGA_BASE, EGA_VIDEORAM); 168 165 if (egadev)
Note:
See TracChangeset
for help on using the changeset viewer.