sched: apply proper blocking mechanism for chardev

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
Michael Shaw 2024-06-17 14:09:53 -04:00
commit dfed938383
12 changed files with 183 additions and 24 deletions

9
include/kernel/umem.h Normal file
View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _UMEM_H_
#define _UMEM_H_
#include <kernel/proc.h>
void copy_to_user(struct proc *proc, void *dst, const void *src, size_t size);
#endif /* _UMEM_H_ */