Changeset 32573ff in mainline for kernel/arch/sparc64/src/sun4u/asm.S


Ignore:
Timestamp:
2016-05-02T20:58:16Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7c4b26c
Parents:
6adb775f (diff), 5035ba05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline, which has dltest and fixes.

File:
1 edited

Legend:

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

    r6adb775f r32573ff  
    2727#
    2828
     29#include <abi/asmtool.h>
    2930#include <arch/arch.h>
    3031#include <arch/stack.h>
     
    5556.endm
    5657
    57 .global write_to_ag_g6
    58 write_to_ag_g6:
     58FUNCTION_BEGIN(write_to_ag_g6)
    5959        WRITE_ALTERNATE_REGISTER %g6, PSTATE_AG_BIT
     60FUNCTION_END(write_to_ag_g6)
    6061
    61 .global write_to_ag_g7
    62 write_to_ag_g7:
     62FUNCTION_BEGIN(write_to_ag_g7)
    6363        WRITE_ALTERNATE_REGISTER %g7, PSTATE_AG_BIT
     64FUNCTION_END(write_to_ag_g7)
    6465
    65 .global write_to_ig_g6
    66 write_to_ig_g6:
     66FUNCTION_BEGIN(write_to_ig_g6)
    6767        WRITE_ALTERNATE_REGISTER %g6, PSTATE_IG_BIT
     68FUNCTION_END(write_to_ig_g6)
    6869
    69 .global read_from_ag_g6
    70 read_from_ag_g6:
     70FUNCTION_BEGIN(read_from_ag_g6)
    7171        READ_ALTERNATE_REGISTER %g6, PSTATE_AG_BIT
     72FUNCTION_END(read_from_ag_g6)
    7273
    73 .global read_from_ag_g7
    74 read_from_ag_g7:
     74FUNCTION_BEGIN(read_from_ag_g7)
    7575        READ_ALTERNATE_REGISTER %g7, PSTATE_AG_BIT
     76FUNCTION_END(read_from_ag_g7)
    7677
    7778/** Switch to userspace.
     
    8182 * %o2  Userspace address of uarg structure.
    8283 */
    83 .global switch_to_userspace
    84 switch_to_userspace:
     84FUNCTION_BEGIN(switch_to_userspace)
    8585        save %o1, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
    8686        flushw
     
    119119       
    120120        done                            ! jump to userspace
     121FUNCTION_END(switch_to_userspace)
    121122
Note: See TracChangeset for help on using the changeset viewer.