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