1#include <ppc-asm.h> 2 3#define CONFIG_ALTIVEC 4 5#define r1 1 6 7#define R14 r14 8#define R15 r15 9#define R16 r16 10#define R17 r17 11#define R18 r18 12#define R19 r19 13#define R20 r20 14#define R21 r21 15#define R22 r22 16#define R29 r29 17#define R30 r30 18#define R31 r31 19 20#define STACKFRAMESIZE 256 21#define STK_REG(i) (112 + ((i)-14)*8) 22 23#define _GLOBAL(A) FUNC_START(test_ ## A) 24#define _GLOBAL_TOC(A) _GLOBAL(A) 25 26#define PPC_MTOCRF(A, B) mtocrf A, B 27 28FUNC_START(enter_vmx_usercopy) 29 li r3,1 30 blr 31 32FUNC_START(exit_vmx_usercopy) 33 li r3,0 34 blr 35 36FUNC_START(enter_vmx_copy) 37 li r3,1 38 blr 39 40FUNC_START(exit_vmx_copy) 41 blr 42 43FUNC_START(memcpy_power7) 44 blr 45 46FUNC_START(__copy_tofrom_user_power7) 47 blr 48 49FUNC_START(__copy_tofrom_user_base) 50 blr 51 52#define BEGIN_FTR_SECTION 53#define FTR_SECTION_ELSE 54#define ALT_FTR_SECTION_END_IFCLR(x) 55#define ALT_FTR_SECTION_END(x, y) 56#define END_FTR_SECTION_IFCLR(x) 57