Changeset 8be3230 in mainline for kernel/arch/ia32/src/boot/multiboot.S
- Timestamp:
- 2018-11-18T01:01:02Z (5 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/ia32/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 … … 68 66 multiboot_header: 69 67 .long MULTIBOOT_HEADER_MAGIC 70 #ifdef CONFIG_FB71 68 .long MULTIBOOT_HEADER_FLAGS 72 69 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS) /* checksum */ 73 #else74 .long MULTIBOOT_HEADER_FLAGS_NOFB75 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS_NOFB) /* checksum */76 #endif77 70 .long multiboot_header 78 71 .long unmapped_start … … 80 73 .long 0 81 74 .long multiboot_image_start 82 #ifdef CONFIG_FB83 .long 084 .long CONFIG_BFB_WIDTH85 .long CONFIG_BFB_HEIGHT86 .long CONFIG_BFB_BPP87 #endif88 75 89 76 SYMBOL(multiboot_image_start) … … 117 104 118 105 pm_status $status_prot 106 107 #include "vesa_prot.inc" 119 108 120 109 #ifndef PROCESSOR_i486 … … 696 685 ret 697 686 687 #include "vesa_real.inc" 688 698 689 .section K_DATA_START, "aw", @progbits 699 690 … … 729 720 status_non_pse: 730 721 .asciz "[non_pse] " 722 status_vesa_copy: 723 .asciz "[vesa_copy] " 731 724 status_multiboot_cmdline: 732 725 .asciz "[multiboot_cmdline] " 726 status_vesa_real: 727 .asciz "[vesa_real] " 733 728 status_prot2: 734 729 .asciz "[prot2] "
Note:
See TracChangeset
for help on using the changeset viewer.