diff options
author | dzwdz | 2023-01-25 20:56:36 +0100 |
---|---|---|
committer | dzwdz | 2023-01-25 20:56:36 +0100 |
commit | c24a9376b4a048a3f9408df2d47eaad367459bd7 (patch) | |
tree | 74388b8b575719ab94e6f8eed9ad834abe7ba36b /src/kernel/proc.h | |
parent | 93194f8645ecd9f280372ec99497ede5f0ce7cee (diff) |
kernel: consolidate some header files
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 +); |