Changeset 8be3230 in mainline for kernel/arch/amd64/src/boot/multiboot.S
- Timestamp:
- 2018-11-18T01:01:02Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b3fcf36
- Parents:
- ec18e454
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/boot/multiboot.S
rec18e454 r8be3230 38 38 #include <arch/cpu.h> 39 39 40 // TODO: most of this file can be rewritten in C41 42 40 #define START_STACK (BOOT_OFFSET - BOOT_STACK_SIZE) 43 41 … … 52 50 53 51 .macro pm_status msg 54 #if defined(CONFIG_EGA) && !defined(CONFIG_FB)52 #ifdef CONFIG_EGA 55 53 pushl %esi 56 54 movl \msg, %esi … … 69 67 multiboot_header: 70 68 .long MULTIBOOT_HEADER_MAGIC 71 #ifdef CONFIG_FB72 69 .long MULTIBOOT_HEADER_FLAGS 73 70 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS) /* checksum */ 74 #else75 .long MULTIBOOT_HEADER_FLAGS_NOFB76 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS_NOFB) /* checksum */77 #endif78 71 .long multiboot_header 79 72 .long unmapped_start … … 81 74 .long 0 82 75 .long multiboot_image_start 83 #ifdef CONFIG_FB84 .long 085 .long CONFIG_BFB_WIDTH86 .long CONFIG_BFB_HEIGHT87 .long CONFIG_BFB_BPP88 #endif89 76 90 77 SYMBOL(multiboot_image_start) … … 171 158 sse2_supported: 172 159 160 #include "vesa_prot.inc" 161 173 162 pm2_status $status_prot2 174 163 … … 579 568 580 569 ret 570 571 #include "vesa_real.inc" 581 572 582 573 .section K_INI_PTLS, "aw", @progbits … … 717 708 status_prot: 718 709 .asciz "[prot] " 710 status_vesa_copy: 711 .asciz "[vesa_copy] " 719 712 status_multiboot_cmdline: 720 713 .asciz "[multiboot_cmdline] " 714 status_vesa_real: 715 .asciz "[vesa_real] " 721 716 status_prot2: 722 717 .asciz "[prot2] "
Note:
See TracChangeset
for help on using the changeset viewer.