📄 trampolines.c
字号:
/* * sparc/trampolines.c * Sparc trampolines codes for various occasions. * * Copyright (c) 1996, 1997 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */#if defined(TRAMPOLINE_FUNCTION)/* * If we have an explit function defined then use that. */TRAMPOLINE_FUNCTION() #else/* * Otherwise we'll try to construct one. */#if !defined(START_ASM_FUNC)#define START_ASM_FUNC() ".text\n\t.align 4\n\t.global "#endif#if !defined(END_ASM_FUNC)#define END_ASM_FUNC() ""#endif#if defined(HAVE_UNDERSCORED_C_NAMES)#define C_FUNC_NAME(FUNC) "_" #FUNC#else#define C_FUNC_NAME(FUNC) #FUNC#endifasm( START_ASM_FUNC() C_FUNC_NAME(sparc_do_fixup_trampoline) "\n"C_FUNC_NAME(sparc_do_fixup_trampoline) ": \n"" save %sp,-64,%sp \n"" ld [%i7+8],%o0 \n"" ld [%i7+12],%o1 \n"" call " C_FUNC_NAME(soft_fixup_trampoline) " \n"" mov %g1,%i7 \n"" jmp %o0 \n"" restore" END_ASM_FUNC());#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -