Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/boot/multiboot2.S

    r36df4109 rf66c203d  
    2727 */
    2828
    29 #include <abi/asmtool.h>
    3029#include <arch/boot/boot.h>
    3130#include <arch/pm.h>
     
    4039
    4140.align 8
     41.global multiboot2_image_start
    4242multiboot2_header_start:
    4343        .long MULTIBOOT2_HEADER_MAGIC
     
    4747       
    4848        /* Information request tag */
    49         .align 8
    5049        tag_info_req_start:
    5150                .word MULTIBOOT2_TAG_INFO_REQ
     
    6059       
    6160        /* Address tag */
    62         .align 8
    6361        tag_address_start:
    6462                .word MULTIBOOT2_TAG_ADDRESS
     
    7270       
    7371        /* Entry address tag */
    74         .align 8
    7572        tag_entry_address_start:
    7673                .word MULTIBOOT2_TAG_ENTRY_ADDRESS
     
    8178       
    8279        /* Flags tag */
    83         .align 8
    8480        tag_flags_start:
    8581                .word MULTIBOOT2_TAG_FLAGS
     
    9187#ifdef CONFIG_FB
    9288        /* Framebuffer tag */
    93         .align 8
    9489        tag_framebuffer_start:
    9590                .word MULTIBOOT2_TAG_FRAMEBUFFER
     
    10398       
    10499        /* Module alignment tag */
    105         .align 8
    106100        tag_module_align_start:
    107101                .word MULTIBOOT2_TAG_MODULE_ALIGN
     
    112106       
    113107        /* Tag terminator */
    114         .align 8
    115108        tag_terminator_start:
    116109                .word MULTIBOOT2_TAG_TERMINATOR
     
    120113multiboot2_header_end:
    121114
    122 SYMBOL(multiboot2_image_start)
     115multiboot2_image_start:
    123116        cli
    124117        cld
     
    178171        movl %esp, %ebp
    179172       
    180         /* Call ia32_pre_main(multiboot_eax, multiboot_ebx) */
     173        /* Call arch_pre_main(multiboot_eax, multiboot_ebx) */
    181174        pushl multiboot_ebx
    182175        pushl multiboot_eax
    183         call ia32_pre_main
     176        call arch_pre_main
    184177       
    185178        /* Call main_bsp() */
Note: See TracChangeset for help on using the changeset viewer.