Changes in kernel/arch/amd64/src/boot/multiboot.S [17aa6d1:bae43dc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/boot/multiboot.S
r17aa6d1 rbae43dc 38 38 #include <arch/cpu.h> 39 39 40 // TODO: most of this file can be rewritten in C41 42 // TODO: FB state should be checked dynamically from provided multiboot info.43 // Currently we only enable EGA statically, which forces us to rebuild44 // the image to get very early debug output.45 46 40 #define START_STACK (BOOT_OFFSET - BOOT_STACK_SIZE) 47 41 … … 56 50 57 51 .macro pm_status msg 58 #if defined(CONFIG_EGA) && !defined(CONFIG_FB)52 #ifdef CONFIG_EGA 59 53 pushl %esi 60 54 movl \msg, %esi … … 73 67 multiboot_header: 74 68 .long MULTIBOOT_HEADER_MAGIC 75 #ifdef CONFIG_FB76 69 .long MULTIBOOT_HEADER_FLAGS 77 70 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS) /* checksum */ 78 #else79 .long MULTIBOOT_HEADER_FLAGS_NOFB80 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS_NOFB) /* checksum */81 #endif82 71 .long multiboot_header 83 72 .long unmapped_start … … 85 74 .long 0 86 75 .long multiboot_image_start 87 #ifdef CONFIG_FB88 .long 089 .long CONFIG_BFB_WIDTH90 .long CONFIG_BFB_HEIGHT91 .long CONFIG_BFB_BPP92 #endif93 76 94 77 SYMBOL(multiboot_image_start) … … 175 158 sse2_supported: 176 159 160 #include "vesa_prot.inc" 161 177 162 pm2_status $status_prot2 178 163 … … 583 568 584 569 ret 570 571 #include "vesa_real.inc" 585 572 586 573 .section K_INI_PTLS, "aw", @progbits … … 721 708 status_prot: 722 709 .asciz "[prot] " 710 status_vesa_copy: 711 .asciz "[vesa_copy] " 723 712 status_multiboot_cmdline: 724 713 .asciz "[multiboot_cmdline] " 714 status_vesa_real: 715 .asciz "[vesa_real] " 725 716 status_prot2: 726 717 .asciz "[prot2] "
Note:
See TracChangeset
for help on using the changeset viewer.