Ignore:
Timestamp:
2016-04-23T20:27:28Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0407636
Parents:
27f67f5
Message:

sparc64: use asmtool.h macros for defining symbols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/sun4u/start.S

    r27f67f5 ra52e2f4  
    2727#
    2828
     29#include <abi/asmtool.h>
     30
    2931#include <arch/arch.h>
    3032#include <arch/cpu.h>
     
    7678 */
    7779
    78 .global kernel_image_start
    79 kernel_image_start:
     80SYMBOL(kernel_image_start)
    8081        mov BSP_FLAG, %l0
    8182        and %o0, %l0, %l7                       ! l7 <= bootstrap processor?
     
    396397
    397398.align 8
    398 .global physmem_base            ! copy of the physical memory base address
    399 physmem_base:
     399SYMBOL(physmem_base)    ! copy of the physical memory base address
    400400        .quad 0
    401401
     
    405405 * are meant to stay together, aligned on a 32B boundary.
    406406 */
    407 .global fast_data_access_mmu_miss_data_hi
    408 .global end_of_identity
    409 .global kernel_8k_tlb_data_template
    410 .global tlb_tag_access_context_mask
    411407
    412408.align 32
     
    414410 * This label is used by the fast_data_access_MMU_miss trap handler.
    415411 */
    416 fast_data_access_mmu_miss_data_hi:
     412SYMBOL(fast_data_access_mmu_miss_data_hi)
    417413/*
    418414 * This variable is used by the fast_data_access_MMU_miss trap handler.
     
    420416 * memory.
    421417 */
    422 end_of_identity:
     418SYMBOL(end_of_identity)
    423419        .quad -1
    424420/*
     
    427423 * physical memory.
    428424 */
    429 kernel_8k_tlb_data_template:
     425SYMBOL(kernel_8k_tlb_data_template)
    430426#ifdef CONFIG_VIRT_IDX_DCACHE
    431427        .quad ((1 << TTE_V_SHIFT) | (PAGESIZE_8K << TTE_SIZE_SHIFT) | TTE_CP | \
     
    440436 * It allows us to save one precious instruction slot of this handler.
    441437 */
    442 tlb_tag_access_context_mask:
     438SYMBOL(tlb_tag_access_context_mask)
    443439        .quad TLB_TAG_ACCESS_CONTEXT_MASK
    444440
Note: See TracChangeset for help on using the changeset viewer.