Ignore:
File:
1 edited

Legend:

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

    ra52e2f4 r1b34360  
    2828#
    2929
    30 #include <abi/asmtool.h>
    3130#include <arch/arch.h>
    3231
     
    4342.register %g7, #scratch
    4443
     44.global start
     45.global halt
     46.global jump_to_kernel
     47
    4548.section BOOTSTRAP, "ax"
    4649
    47 SYMBOL(start)
     50start:
    4851        ba %xcc, 1f
    4952        nop
     
    9396.text
    9497
    95 FUNCTION_BEGIN(halt)
     98halt:
    9699        ba %xcc, halt
    97100        nop
    98 FUNCTION_END(halt)
    99101
    100 FUNCTION_BEGIN(jump_to_kernel)
     102jump_to_kernel:
    101103        /*
    102104         * Guarantee cache coherence:
     
    131133        jmp %o3
    132134        nop
    133 FUNCTION_END(jump_to_kernel)
    134135
    135136# Flush I-cache
     
    157158#endif  /* PROCESSOR_us || PROCESSOR_us3 */
    158159
    159 FUNCTION_BEGIN(ofw)
     160.global ofw
     161ofw:
    160162        save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
    161163        set ofw_cif, %l0
     
    173175        ret
    174176        restore %o0, 0, %o0
    175 FUNCTION_END(ofw)
Note: See TracChangeset for help on using the changeset viewer.