Changeset 3b0f1b9a in mainline for kernel/arch/amd64/src/smp/ap.S


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/smp/ap.S

    r8844e70 r3b0f1b9a  
    3232#
    3333
     34#include <abi/asmtool.h>
    3435#include <arch/boot/boot.h>
    3536#include <arch/boot/memmap.h>
     
    4344#ifdef CONFIG_SMP
    4445
    45 .global unmapped_ap_boot
    46 
    4746# This piece of code is real-mode and is meant to be alligned at 4K boundary.
    4847# The requirement for such an alignment comes from MP Specification's STARTUP
     
    5049
    5150.align 4096
    52 unmapped_ap_boot:
     51SYMBOL(unmapped_ap_boot)
    5352.code16
    5453        cli
     
    113112#ifdef CONFIG_SMP
    114113
    115 .global unmapped_ap_gdtr
    116 unmapped_ap_gdtr:
     114SYMBOL(unmapped_ap_gdtr)
    117115        .word 0
    118116        .long 0
Note: See TracChangeset for help on using the changeset viewer.