mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
27 lines
987 B
C
27 lines
987 B
C
![]() |
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||
|
|
||
|
/* ptrace-(no)vsx */
|
||
|
|
||
|
int fpr_get(struct task_struct *target, const struct user_regset *regset,
|
||
|
unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf);
|
||
|
int fpr_set(struct task_struct *target, const struct user_regset *regset,
|
||
|
unsigned int pos, unsigned int count,
|
||
|
const void *kbuf, const void __user *ubuf);
|
||
|
|
||
|
/* ptrace-vsx */
|
||
|
|
||
|
int vsr_active(struct task_struct *target, const struct user_regset *regset);
|
||
|
int vsr_get(struct task_struct *target, const struct user_regset *regset,
|
||
|
unsigned int pos, unsigned int count, void *kbuf, void __user *ubuf);
|
||
|
int vsr_set(struct task_struct *target, const struct user_regset *regset,
|
||
|
unsigned int pos, unsigned int count,
|
||
|
const void *kbuf, const void __user *ubuf);
|
||
|
|
||
|
/* ptrace */
|
||
|
|
||
|
#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
|
||
|
void flush_tmregs_to_thread(struct task_struct *tsk);
|
||
|
#else
|
||
|
static inline void flush_tmregs_to_thread(struct task_struct *tsk) { }
|
||
|
#endif
|