From c24a9376b4a048a3f9408df2d47eaad367459bd7 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 25 Jan 2023 20:56:36 +0100 Subject: kernel: consolidate some header files --- src/kernel/proc.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 5120778..8a19d8f 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -128,3 +128,11 @@ Handle *proc_hid_take(Proc *, hid_t); hid_t proc_handle_put(Proc *, Handle *); void proc_setstate(Proc *, enum proc_state); + +size_t pcpy_to(Proc *p, __user void *dst, const void *src, size_t len); +size_t pcpy_from(Proc *p, void *dst, const __user void *src, size_t len); +size_t pcpy_bi( + Proc *dstp, __user void *dst, + Proc *srcp, const __user void *src, + size_t len +); -- cgit v1.2.3