Changeset 27f67f5 in mainline for boot/arch/ia64/src


Ignore:
Timestamp:
2016-04-22T20:43:34Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a52e2f4
Parents:
054476d
Message:

ia64: use asmtool.h macros for defining symbols

Location:
boot/arch/ia64/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/src/asm.S

    r054476d r27f67f5  
    2828#
    2929
     30#include <abi/asmtool.h>
    3031#include <arch/arch.h>
    3132
    3233.text
    3334
    34 .global halt
    35 .global memcpy
    36 .global jump_to_kernel
     35FUNCTION_BEGIN(halt)
     36        br halt
     37FUNCTION_END(halt)
    3738
    38 halt:
    39         br halt
    40 
    41 jump_to_kernel:
     39FUNCTION_BEGIN(jump_to_kernel)
    4240        alloc loc0 = ar.pfs, 1, 1, 0, 0
    4341        mov r2 = in0 ;;                 # Pass bootinfo address
     
    4543        mov b1 = r8 ;;
    4644        br.call.sptk.many b0 = b1;;
     45FUNCTION_END(jump_to_kernel)
     46
  • boot/arch/ia64/src/boot.S

    r054476d r27f67f5  
    2828#
    2929
     30#include <abi/asmtool.h>
    3031#include <arch/arch.h>
    3132
    3233.section BOOTSTRAP, "ax"
    3334
    34 .global start
    35 start:
     35SYMBOL(start)
    3636        movl gp = __gp
    3737
     
    6969.bss
    7070
    71 .global bootpar
    72 bootpar:
     71SYMBOL(bootpar)
    7372        .quad 0
    7473
  • boot/arch/ia64/src/pal_asm.S

    r054476d r27f67f5  
    2727#
    2828
     29#include <abi/asmtool.h>
     30
    2931.explicit
    3032
    31 .global pal_static_call
    32 
    33 pal_static_call:
     33FUNCTION_BEGIN(pal_static_call)
    3434        alloc loc0 = ar.pfs, 7, 6, 0, 0
    3535
     
    7474        mov ar.pfs = loc0
    7575        br.ret.sptk.many rp
     76FUNCTION_END(pal_static_call)
    7677
  • boot/arch/ia64/src/sal_asm.S

    r054476d r27f67f5  
    2727#
    2828
     29#include <abi/asmtool.h>
     30
    2931.explicit
    3032
     
    3335#define STACK_IN9               (8 + STACK_SCRATCH_AREA)
    3436#define STACK_IN10              (16 + STACK_SCRATCH_AREA)
    35 
    36 .global sal_call
    3737
    3838#
     
    4343# Assume PSR.bn is 1, as expected by SAL.
    4444#
    45 sal_call:
     45FUNCTION_BEGIN(sal_call)
    4646        alloc loc0 = ar.pfs, 8, 8, 8, 0
    4747       
     
    9292        mov ar.pfs = loc0
    9393        br.ret.sptk.many rp
     94FUNCTION_END(sal_call)
    9495
Note: See TracChangeset for help on using the changeset viewer.