Ignore:
Timestamp:
2016-04-12T05:57:00Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f792c28, d84398a7
Parents:
8844e70
Message:

amd64: use asmtool.h macros for defining symbols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/boot/multiboot.S

    r8844e70 r3b0f1b9a  
    2929 */
    3030
     31#include <abi/asmtool.h>
    3132#include <arch/boot/boot.h>
    3233#include <arch/mm/page.h>
     
    6465
    6566.align 4
    66 .global multiboot_image_start
    6767multiboot_header:
    6868        .long MULTIBOOT_HEADER_MAGIC
     
    7575        .long multiboot_image_start
    7676
    77 multiboot_image_start:
     77SYMBOL(multiboot_image_start)
    7878        cli
    7979        cld
     
    640640
    641641.align 4096
    642 .global ptl_0
    643 ptl_0:
     642SYMBOL(ptl_0)
    644643        .quad ptl_1 + (PTL_WRITABLE | PTL_PRESENT)
    645644        .fill 510, 8, 0
     
    648647.section K_DATA_START, "aw", @progbits
    649648
    650 .global bootstrap_idtr
    651 bootstrap_idtr:
     649SYMBOL(bootstrap_idtr)
    652650        .word 0
    653651        .long 0
    654652
    655 .global bootstrap_gdtr
    656 bootstrap_gdtr:
     653SYMBOL(bootstrap_gdtr)
    657654        .word GDT_SELECTOR(GDT_ITEMS)
    658655        .long KA2PA(gdt)
    659656
    660 .global multiboot_eax
    661 multiboot_eax:
     657SYMBOL(multiboot_eax)
    662658        .long 0
    663659
    664 .global multiboot_ebx
    665 multiboot_ebx:
     660SYMBOL(multiboot_ebx)
    666661        .long 0
    667662
Note: See TracChangeset for help on using the changeset viewer.