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