Changeset 38ad239 in mainline for boot/arch/sparc32/src/asm.S


Ignore:
Timestamp:
2016-04-24T08:42:07Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc41f3a3
Parents:
b66cc97
Message:

sparc32: use asmtool.h macros for defining symbols

File:
1 edited

Legend:

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

    rb66cc97 r38ad239  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <arch/arch.h>
    3031
    3132.section BOOTSTRAP
    3233
    33 .global start
    34 .global boot_pt
    35 .global boot_ctx_table
    36 .global boot_stack
    37 .global halt
    38 .global jump_to_kernel
    39 
    40 start:
     34SYMBOL(start)
    4135        b bootstrap
    4236        nop
     
    4438.section BOOTPT
    4539.align 4096
    46 boot_pt:
     40SYMBOL(boot_pt)
    4741        .space PTL0_ENTRIES * PTL0_ENTRY_SIZE
    4842
    49 boot_ctx_table:
     43SYMBOL(boot_ctx_table)
    5044        .space 4
    5145
    5246.section BOOTSTACK
    5347        .space 4096
    54 boot_stack:
     48SYMBOL(boot_stack)
    5549
    5650.text
    5751
    58 halt:
     52FUNCTION_BEGIN(halt)
    5953        b halt
    6054        nop
     55FUNCTION_END(halt)
    6156
    62 jump_to_kernel:
     57FUNCTION_BEGIN(jump_to_kernel)
    6358        set 0x80a00000, %l0
    6459        mov %i1, %o0
    6560        jmp %l0
    6661        nop
     62FUNCTION_END(jump_to_kernel)
Note: See TracChangeset for help on using the changeset viewer.