Changeset a52e2f4 in mainline for kernel/arch/sparc64/src/sun4v/asm.S


Ignore:
Timestamp:
2016-04-23T20:27:28Z (9 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/sun4v/asm.S

    r27f67f5 ra52e2f4  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <arch/mm/mmu.h>
    3031#include <arch/regdef.h>
     
    3940 * %o2  Userspace address of uarg structure.
    4041 */
    41 .global switch_to_userspace
    42 switch_to_userspace:
     42FUNCTION_BEGIN(switch_to_userspace)
    4343        save %o1, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
    4444        flushw
     
    7575        wrpr %g0, WSTATE_OTHER(0) | WSTATE_NORMAL(1), %wstate
    7676        done                            ! jump to userspace
     77FUNCTION_END(switch_to_userspace)
Note: See TracChangeset for help on using the changeset viewer.