diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-13 21:27:39 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-13 21:48:21 -0400 |
commit | fc9c7bab5bb64dd2242e9e9dff98060d64af2a32 (patch) | |
tree | 7595e81043217c2e6ba81fe1cec5850bf7ae77b7 /sys/include | |
parent | 8b68f956154b43b2b2fe2b8783ae6f23bf90d47b (diff) |
kernel/amd64: machdep: Add pcb init code
This commit adds a processor specific routine which sets up the
Process Control Block for a thread
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/machdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/machdep.h b/sys/include/sys/machdep.h index 713b7db..151d5f8 100644 --- a/sys/include/sys/machdep.h +++ b/sys/include/sys/machdep.h @@ -32,11 +32,13 @@ #include <sys/types.h> #include <sys/cdefs.h> +#include <sys/proc.h> #if defined(_KERNEL) #define MAXCPUS 32 +int processor_init_pcb(struct proc *proc); void processor_init(void); void processor_halt(void); void intr_mask(void); |