xref: /kernel/linux/linux-5.10/arch/sparc/lib/U3copy_from_user.S
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/sparc/lib/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/* U3copy_from_user.S: UltraSparc-III optimized copy from userspace.
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Copyright (C) 1999, 2000, 2004 David S. Miller (davem@redhat.com)
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define EX_LD(x,y)		\
88c2ecf20Sopenharmony_ci98:	x;			\
98c2ecf20Sopenharmony_ci	.section __ex_table,"a";\
108c2ecf20Sopenharmony_ci	.align 4;		\
118c2ecf20Sopenharmony_ci	.word 98b, y;		\
128c2ecf20Sopenharmony_ci	.text;			\
138c2ecf20Sopenharmony_ci	.align 4;
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#define EX_LD_FP(x,y)		\
168c2ecf20Sopenharmony_ci98:	x;			\
178c2ecf20Sopenharmony_ci	.section __ex_table,"a";\
188c2ecf20Sopenharmony_ci	.align 4;		\
198c2ecf20Sopenharmony_ci	.word 98b, y##_fp;	\
208c2ecf20Sopenharmony_ci	.text;			\
218c2ecf20Sopenharmony_ci	.align 4;
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#define FUNC_NAME		U3copy_from_user
248c2ecf20Sopenharmony_ci#define LOAD(type,addr,dest)	type##a [addr] %asi, dest
258c2ecf20Sopenharmony_ci#define EX_RETVAL(x)		0
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#include "U3memcpy.S"
28

Indexes created Thu Nov 07 10:32:03 CST 2024