Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* U3copy_from_user.S: UltraSparc-III optimized copy from userspace.
0003  *
0004  * Copyright (C) 1999, 2000, 2004 David S. Miller (davem@redhat.com)
0005  */
0006 
0007 #define EX_LD(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_LD_FP(x,y)       \
0016 98: x;          \
0017     .section __ex_table,"a";\
0018     .align 4;       \
0019     .word 98b, y##_fp;  \
0020     .text;          \
0021     .align 4;
0022 
0023 #define FUNC_NAME       U3copy_from_user
0024 #define LOAD(type,addr,dest)    type##a [addr] %asi, dest
0025 #define EX_RETVAL(x)        0
0026 
0027 #include "U3memcpy.S"