Changeset 8781e9d in mainline for kernel/arch/ia32/src/boot/multiboot.S
- Timestamp:
- 2018-11-12T20:20:36Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 08f1a6d
- Parents:
- 15639ec
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-12 20:09:40)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-12 20:20:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/multiboot.S
r15639ec r8781e9d 38 38 #include <arch/cpu.h> 39 39 40 // TODO: most of this file can be rewritten in C 41 40 42 #define START_STACK (BOOT_OFFSET - BOOT_STACK_SIZE) 41 43 … … 50 52 51 53 .macro pm_status msg 52 #if def CONFIG_EGA54 #if defined(CONFIG_EGA) && !defined(CONFIG_FB) 53 55 pushl %esi 54 56 movl \msg, %esi … … 66 68 multiboot_header: 67 69 .long MULTIBOOT_HEADER_MAGIC 70 #ifdef CONFIG_FB 68 71 .long MULTIBOOT_HEADER_FLAGS 69 72 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS) /* checksum */ 73 #else 74 .long MULTIBOOT_HEADER_FLAGS_NOFB 75 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS_NOFB) /* checksum */ 76 #endif 70 77 .long multiboot_header 71 78 .long unmapped_start … … 73 80 .long 0 74 81 .long multiboot_image_start 82 #ifdef CONFIG_FB 83 .long 0 84 .long CONFIG_BFB_WIDTH 85 .long CONFIG_BFB_HEIGHT 86 .long CONFIG_BFB_BPP 87 #endif 75 88 76 89 SYMBOL(multiboot_image_start) … … 104 117 105 118 pm_status $status_prot 106 107 #include "vesa_prot.inc"108 119 109 120 #ifndef PROCESSOR_i486 … … 685 696 ret 686 697 687 #include "vesa_real.inc"688 689 698 .section K_DATA_START, "aw", @progbits 690 699 … … 720 729 status_non_pse: 721 730 .asciz "[non_pse] " 722 status_vesa_copy:723 .asciz "[vesa_copy] "724 731 status_multiboot_cmdline: 725 732 .asciz "[multiboot_cmdline] " 726 status_vesa_real:727 .asciz "[vesa_real] "728 733 status_prot2: 729 734 .asciz "[prot2] "
Note:
See TracChangeset
for help on using the changeset viewer.