Changes in kernel/arch/ia32/src/boot/multiboot2.S [36df4109:f66c203d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/multiboot2.S
r36df4109 rf66c203d 27 27 */ 28 28 29 #include <abi/asmtool.h>30 29 #include <arch/boot/boot.h> 31 30 #include <arch/pm.h> … … 40 39 41 40 .align 8 41 .global multiboot2_image_start 42 42 multiboot2_header_start: 43 43 .long MULTIBOOT2_HEADER_MAGIC … … 47 47 48 48 /* Information request tag */ 49 .align 850 49 tag_info_req_start: 51 50 .word MULTIBOOT2_TAG_INFO_REQ … … 60 59 61 60 /* Address tag */ 62 .align 863 61 tag_address_start: 64 62 .word MULTIBOOT2_TAG_ADDRESS … … 72 70 73 71 /* Entry address tag */ 74 .align 875 72 tag_entry_address_start: 76 73 .word MULTIBOOT2_TAG_ENTRY_ADDRESS … … 81 78 82 79 /* Flags tag */ 83 .align 884 80 tag_flags_start: 85 81 .word MULTIBOOT2_TAG_FLAGS … … 91 87 #ifdef CONFIG_FB 92 88 /* Framebuffer tag */ 93 .align 894 89 tag_framebuffer_start: 95 90 .word MULTIBOOT2_TAG_FRAMEBUFFER … … 103 98 104 99 /* Module alignment tag */ 105 .align 8106 100 tag_module_align_start: 107 101 .word MULTIBOOT2_TAG_MODULE_ALIGN … … 112 106 113 107 /* Tag terminator */ 114 .align 8115 108 tag_terminator_start: 116 109 .word MULTIBOOT2_TAG_TERMINATOR … … 120 113 multiboot2_header_end: 121 114 122 SYMBOL(multiboot2_image_start) 115 multiboot2_image_start: 123 116 cli 124 117 cld … … 178 171 movl %esp, %ebp 179 172 180 /* Call ia32_pre_main(multiboot_eax, multiboot_ebx) */173 /* Call arch_pre_main(multiboot_eax, multiboot_ebx) */ 181 174 pushl multiboot_ebx 182 175 pushl multiboot_eax 183 call ia32_pre_main176 call arch_pre_main 184 177 185 178 /* Call main_bsp() */
Note:
See TracChangeset
for help on using the changeset viewer.