0001
0002
0003
0004
0005
0006
0007 #define EX_ST(x,y) \
0008 98: x; \
0009 .section __ex_table,"a";\
0010 .align 4; \
0011 .word 98b, y; \
0012 .text; \
0013 .align 4;
0014
0015 #define EX_ST_FP(x,y) \
0016 98: x; \
0017 .section __ex_table,"a";\
0018 .align 4; \
0019 .word 98b, y; \
0020 .text; \
0021 .align 4;
0022
0023 #define FUNC_NAME raw_copy_to_user
0024 #define STORE(type,src,addr) type##a src, [addr] ASI_AIUS
0025 #define STORE_BLK(src,addr) stda src, [addr] ASI_BLK_AIUS
0026 #define EX_RETVAL(x) 0
0027
0028
0029
0030
0031
0032 #define PREAMBLE \
0033 rd %asi, %g1; \
0034 cmp %g1, ASI_AIUS; \
0035 bne,pn %icc, raw_copy_in_user; \
0036 nop; \
0037
0038 #include "U1memcpy.S"