diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-13 23:30:21 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-13 23:30:21 -0400 |
commit | a2b2dbaa71278769e9dbf5ca611cd0d5f3b896ed (patch) | |
tree | 3bcb4dbd92c147d0a6b6b0045894b91a1fe96004 /sys/include | |
parent | 86ee5ee30e2f98137da80434af788bf928f49d55 (diff) |
kernel/amd64: machdep: Add processor_free_pcb()
Add routine to deallocate resources within the process control block.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/machdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/machdep.h b/sys/include/sys/machdep.h index b6edf14..0c06374 100644 --- a/sys/include/sys/machdep.h +++ b/sys/include/sys/machdep.h @@ -39,6 +39,7 @@ #define MAXCPUS 32 int processor_init_pcb(struct proc *proc); +int processor_free_pcb(struct proc *proc); void processor_switch_to(struct proc *old_td, struct proc *new_td); void processor_init(void); void processor_halt(void); |