thread: remove struct proc abstraction
struct proc was a redundant abstraction. everything can be tracked by just threads Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
20905ec95f
commit
e41877b268
16 changed files with 646 additions and 120 deletions
|
|
@ -8,10 +8,10 @@
|
|||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
struct proc;
|
||||
#include <kernel/page.h>
|
||||
|
||||
void *memcpy(void *dest, const void *src, size_t num);
|
||||
void *memcpy_user(struct proc *proc, void *dest, const void *src, size_t num);
|
||||
void *memcpy_user(pgd_t *pgd, void *dest, const void *src, size_t num);
|
||||
int memcmp(const void *aa, const void *bb, size_t num);
|
||||
int strcmp(const char *a, const char *b);
|
||||
int strncmp(const char *a, const char *b, size_t n);
|
||||
|
|
|
|||
Loading…
Reference in a new issue